IIAMCreateRoleRequest
Interface in AWS.IAM
Interface for CreateRole requests.
Ancestors
Properties
AssumeRolePolicyDocument
property AssumeRolePolicyDocument: string
Specify the trust relationship policy document that grants an entity permission to assume the role.
Description
property Description: string
Optionally, specify a description for the role.
MaxSessionDuration
property MaxSessionDuration: TOptional<Integer>
Optionally, specify the maximum session duration (in seconds).
Valid range: 3600 (1 hour) - 43200 (12 hours).
Path
property Path: string
Optionally, specify the path for the role.
Must begin and end with a slash (/). If not specified, a default path prefix of / is used.
PermissionsBoundary
property PermissionsBoundary: TARN
Optionally, specify the Amazon Resource Name (ARN) of the managed policy used to set the permissions boundary.
RoleName
property RoleName: string
Specify a name for the role.
Tags
property Tags: TList<IIAMTag>
Type: IIAMTag
Optionally, specify a list of tags to associated with the IAM role.
Methods
AddTag
function AddTag(const AKey, AValue: string): NativeInt;
Add a key/value pair to Tags.
Parameters
| Name | Description |
|---|---|
AKey | Specify the key for the tag to add to Tags. |
AValue | Specify the value for the tag to add to Tags. |
Returns
Returns the index of the tag added to Tags.