> ## Documentation Index
> Fetch the complete documentation index at: https://cdktn.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# CSharp: S3BackendAssumeRoleConfig

> CDKTN Core API Reference for S3BackendAssumeRoleConfig in CSharp.

## Initializer <a name="Initializer" id="cdktn.S3BackendAssumeRoleConfig.Initializer" />

```csharp theme={null}
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 <a name="Properties" id="Properties" />

| **Name**                                                                                                 | **Type**                                                               | **Description**                                                                                                                           |
| -------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------- |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.roleArn">RoleArn</a></code>                     | <code>string</code>                                                    | (Required) Amazon Resource Name (ARN) of the IAM Role to assume.                                                                          |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.duration">Duration</a></code>                   | <code>string</code>                                                    | (Optional) The duration individual credentials will be valid.                                                                             |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.externalId">ExternalId</a></code>               | <code>string</code>                                                    | (Optional) External identifier to use when assuming the role.                                                                             |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.policy">Policy</a></code>                       | <code>string</code>                                                    | (Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.                                     |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.policyArns">PolicyArns</a></code>               | <code>string\[]</code>                                                 | (Optional) Set of Amazon Resource Names (ARNs) of IAM Policies describing further restricting permissions for the IAM Role being assumed. |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.sessionName">SessionName</a></code>             | <code>string</code>                                                    | (Optional) Session name to use when assuming the role.                                                                                    |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.sourceIdentity">SourceIdentity</a></code>       | <code>string</code>                                                    | (Optional) Source identity specified by the principal assuming the.                                                                       |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.tags">Tags</a></code>                           | <code>System.Collections.Generic.IDictionary\< string, string ></code> | (Optional) Map of assume role session tags.                                                                                               |
| <code><a href="#cdktn.S3BackendAssumeRoleConfig.property.transitiveTagKeys">TransitiveTagKeys</a></code> | <code>string\[]</code>                                                 | (Optional) Set of assume role session tag keys to pass to any subsequent sessions.                                                        |

***

### `RoleArn`<sup>Required</sup> <a name="RoleArn" id="cdktn.S3BackendAssumeRoleConfig.property.roleArn" />

```csharp theme={null}
public string RoleArn { get; set; }
```

* *Type:* string

(Required) Amazon Resource Name (ARN) of the IAM Role to assume.

***

### `Duration`<sup>Optional</sup> <a name="Duration" id="cdktn.S3BackendAssumeRoleConfig.property.duration" />

```csharp theme={null}
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).

***

### `ExternalId`<sup>Optional</sup> <a name="ExternalId" id="cdktn.S3BackendAssumeRoleConfig.property.externalId" />

```csharp theme={null}
public string ExternalId { get; set; }
```

* *Type:* string

(Optional) External identifier to use when assuming the role.

***

### `Policy`<sup>Optional</sup> <a name="Policy" id="cdktn.S3BackendAssumeRoleConfig.property.policy" />

```csharp theme={null}
public string Policy { get; set; }
```

* *Type:* string

(Optional) IAM Policy JSON describing further restricting permissions for the IAM Role being assumed.

***

### `PolicyArns`<sup>Optional</sup> <a name="PolicyArns" id="cdktn.S3BackendAssumeRoleConfig.property.policyArns" />

```csharp theme={null}
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.

***

### `SessionName`<sup>Optional</sup> <a name="SessionName" id="cdktn.S3BackendAssumeRoleConfig.property.sessionName" />

```csharp theme={null}
public string SessionName { get; set; }
```

* *Type:* string

(Optional) Session name to use when assuming the role.

***

### `SourceIdentity`<sup>Optional</sup> <a name="SourceIdentity" id="cdktn.S3BackendAssumeRoleConfig.property.sourceIdentity" />

```csharp theme={null}
public string SourceIdentity { get; set; }
```

* *Type:* string

(Optional) Source identity specified by the principal assuming the.

***

### `Tags`<sup>Optional</sup> <a name="Tags" id="cdktn.S3BackendAssumeRoleConfig.property.tags" />

```csharp theme={null}
public System.Collections.Generic.IDictionary<string, string> Tags { get; set; }
```

* *Type:* System.Collections.Generic.IDictionary\< string, string >

(Optional) Map of assume role session tags.

***

### `TransitiveTagKeys`<sup>Optional</sup> <a name="TransitiveTagKeys" id="cdktn.S3BackendAssumeRoleConfig.property.transitiveTagKeys" />

```csharp theme={null}
public string[] TransitiveTagKeys { get; set; }
```

* *Type:* string\[]

(Optional) Set of assume role session tag keys to pass to any subsequent sessions.

***
