Class CfnProfileProps
Properties for defining a CfnProfile
.
Inheritance
Implements
Namespace: Amazon.CDK.AWS.RolesAnywhere
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnProfileProps : Object, ICfnProfileProps
Syntax (vb)
Public Class CfnProfileProps
Inherits Object
Implements ICfnProfileProps
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.AWS.RolesAnywhere;
var cfnProfileProps = new CfnProfileProps {
Name = "name",
RoleArns = new [] { "roleArns" },
// the properties below are optional
DurationSeconds = 123,
Enabled = false,
ManagedPolicyArns = new [] { "managedPolicyArns" },
RequireInstanceProperties = false,
SessionPolicy = "sessionPolicy",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
CfnProfileProps() |
Properties
DurationSeconds | The number of seconds vended session credentials will be valid for. |
Enabled | The enabled status of the resource. |
ManagedPolicyArns | A list of managed policy ARNs. |
Name | The customer specified name of the resource. |
RequireInstanceProperties | Specifies whether instance properties are required in CreateSession requests with this profile. |
RoleArns | A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request. |
SessionPolicy | A session policy that will applied to the trust boundary of the vended session credentials. |
Tags | A list of Tags. |
Constructors
CfnProfileProps()
public CfnProfileProps()
Properties
DurationSeconds
The number of seconds vended session credentials will be valid for.
public Nullable<double> DurationSeconds { get; set; }
Property Value
System.Nullable<System.Double>
Remarks
Enabled
The enabled status of the resource.
public object Enabled { get; set; }
Property Value
System.Object
Remarks
ManagedPolicyArns
A list of managed policy ARNs.
public string[] ManagedPolicyArns { get; set; }
Property Value
System.String[]
Remarks
Managed policies identified by this list will be applied to the vended session credentials.
Name
The customer specified name of the resource.
public string Name { get; set; }
Property Value
System.String
Remarks
RequireInstanceProperties
Specifies whether instance properties are required in CreateSession requests with this profile.
public object RequireInstanceProperties { get; set; }
Property Value
System.Object
Remarks
RoleArns
A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
public string[] RoleArns { get; set; }
Property Value
System.String[]
Remarks
SessionPolicy
A session policy that will applied to the trust boundary of the vended session credentials.
public string SessionPolicy { get; set; }
Property Value
System.String