Class RoleOptions
Options for specifying a role.
Inheritance
System.Object
RoleOptions
Implements
Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class RoleOptions : Object, IRoleOptions
Syntax (vb)
Public Class RoleOptions
Inherits Object
Implements IRoleOptions
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;
var roleOptions = new RoleOptions {
AssumeRoleArn = "assumeRoleArn",
// the properties below are optional
AssumeRoleExternalId = "assumeRoleExternalId"
};
Synopsis
Constructors
RoleOptions() |
Properties
AssumeRoleArn | ARN of the role to assume. |
AssumeRoleExternalId | External ID to use when assuming the role. |
Constructors
RoleOptions()
public RoleOptions()
Properties
AssumeRoleArn
ARN of the role to assume.
public string AssumeRoleArn { get; set; }
Property Value
System.String
AssumeRoleExternalId
External ID to use when assuming the role.
public string AssumeRoleExternalId { get; set; }
Property Value
System.String
Remarks
Default: - No external ID