Skip to main content

Initializer

using Io.Cdktn;

new S3BackendAssumeRoleConfig {
    string RoleArn,
    string Duration = null,
    string ExternalId = null,
    string Policy = null,
    string[] PolicyArns = null,
    string SessionName = null,
    string SourceIdentity = null,
    System.Collections.Generic.IDictionary<string, string> Tags = null,
    string[] TransitiveTagKeys = null
};

Properties

NameTypeDescription
RoleArnstring(Required) Amazon Resource Name (ARN) of the IAM Role to assume.
Durationstring(Optional) The duration individual credentials will be valid.
ExternalIdstring(Optional) External identifier to use when assuming the role.
Policystring(Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.
PolicyArnsstring[](Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.
SessionNamestring(Optional) Session name to use when assuming the role.
SourceIdentitystring(Optional) Source identity specified by the principal assuming the.
TagsSystem.Collections.Generic.IDictionary< string, string >(Optional) Map of assume role session tags.
TransitiveTagKeysstring[](Optional) Set of assume role session tag keys to pass to any subsequent sessions.

RoleArnRequired

public string RoleArn { get; set; }
  • Type: string
(Required) Amazon Resource Name (ARN) of the IAM Role to assume.

DurationOptional

public string Duration { get; set; }
  • Type: string
(Optional) The duration individual credentials will be valid. Credentials are automatically renewed up to the maximum defined by the AWS account. Specified using the format < hours >h< minutes >m< seconds >s with any unit being optional. For example, an hour and a half can be specified as 1h30m or 90m. Must be between 15 minutes (15m) and 12 hours (12h).

ExternalIdOptional

public string ExternalId { get; set; }
  • Type: string
(Optional) External identifier to use when assuming the role.

PolicyOptional

public string Policy { get; set; }
  • Type: string
(Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.

PolicyArnsOptional

public string[] PolicyArns { get; set; }
  • Type: string[]
(Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed.

SessionNameOptional

public string SessionName { get; set; }
  • Type: string
(Optional) Session name to use when assuming the role.

SourceIdentityOptional

public string SourceIdentity { get; set; }
  • Type: string
(Optional) Source identity specified by the principal assuming the.

TagsOptional

public System.Collections.Generic.IDictionary<string, string> Tags { get; set; }
  • Type: System.Collections.Generic.IDictionary< string, string >
(Optional) Map of assume role session tags.

TransitiveTagKeysOptional

public string[] TransitiveTagKeys { get; set; }
  • Type: string[]
(Optional) Set of assume role session tag keys to pass to any subsequent sessions.