> ## 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.

# Go: S3BackendAssumeRoleConfig

> CDKTN Core API Reference for S3BackendAssumeRoleConfig in Go.

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

```go theme={null}
import "github.com/open-constructs/cdk-terrain-go/cdktn"

&cdktn.S3BackendAssumeRoleConfig {
	RoleArn: *string,
	Duration: *string,
	ExternalId: *string,
	Policy: *string,
	PolicyArns: *[]*string,
	SessionName: *string,
	SourceIdentity: *string,
	Tags: *map[string]*string,
	TransitiveTagKeys: *[]*string,
}
```

## 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>\*map\[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" />

```go theme={null}
RoleArn *string
```

* *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" />

```go theme={null}
Duration *string
```

* *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" />

```go theme={null}
ExternalId *string
```

* *Type:* \*string

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

***

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

```go theme={null}
Policy *string
```

* *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" />

```go theme={null}
PolicyArns *[]*string
```

* *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" />

```go theme={null}
SessionName *string
```

* *Type:* \*string

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

***

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

```go theme={null}
SourceIdentity *string
```

* *Type:* \*string

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

***

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

```go theme={null}
Tags *map[string]*string
```

* *Type:* \*map\[string]\*string

(Optional) Map of assume role session tags.

***

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

```go theme={null}
TransitiveTagKeys *[]*string
```

* *Type:* \*\[]\*string

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

***
