AWSIoTCreateRoleAliasRequest

Objective-C

@interface AWSIoTCreateRoleAliasRequest

Swift

class AWSIoTCreateRoleAliasRequest
  • How long (in seconds) the credentials will be valid.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable credentialDurationSeconds;

    Swift

    var credentialDurationSeconds: NSNumber? { get set }
  • The role alias that points to a role ARN. This allows you to change the role without having to update the device.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleAlias;

    Swift

    var roleAlias: String? { get set }
  • The role ARN.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable roleArn;

    Swift

    var roleArn: String? { get set }
  • Metadata which can be used to manage the role alias.

    For URI Request parameters use format: …key1=value1&key2=value2…

    For the CLI command-line parameter use format: &&tags “key1=value1&key2=value2…”

    For the cli-input-json file use format: “tags”: “key1=value1&key2=value2…”

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTTag *> *_Nullable tags;

    Swift

    var tags: [AWSIoTTag]? { get set }