Interface ICfnProfileProps
Properties for defining a CfnProfile
.
Namespace: Amazon.CDK.AWS.RolesAnywhere
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface ICfnProfileProps
Syntax (vb)
Public Interface 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
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. |
Properties
DurationSeconds
The number of seconds vended session credentials will be valid for.
virtual Nullable<double> DurationSeconds { get; }
Property Value
System.Nullable<System.Double>
Remarks
Enabled
The enabled status of the resource.
virtual object Enabled { get; }
Property Value
System.Object
Remarks
ManagedPolicyArns
A list of managed policy ARNs.
virtual string[] ManagedPolicyArns { get; }
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.
string Name { get; }
Property Value
System.String
Remarks
RequireInstanceProperties
Specifies whether instance properties are required in CreateSession requests with this profile.
virtual object RequireInstanceProperties { get; }
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.
string[] RoleArns { get; }
Property Value
System.String[]
Remarks
SessionPolicy
A session policy that will applied to the trust boundary of the vended session credentials.
virtual string SessionPolicy { get; }
Property Value
System.String