Class CfnProfileMixinProps
Properties for CfnProfilePropsMixin.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.RolesAnywhere.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnProfileMixinProps : ICfnProfileMixinProps
Syntax (vb)
Public Class CfnProfileMixinProps Implements ICfnProfileMixinProps
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.Mixins.Preview.AWS.RolesAnywhere.Mixins;
var cfnProfileMixinProps = new CfnProfileMixinProps {
AcceptRoleSessionName = false,
AttributeMappings = new [] { new AttributeMappingProperty {
CertificateField = "certificateField",
MappingRules = new [] { new MappingRuleProperty {
Specifier = "specifier"
} }
} },
DurationSeconds = 123,
Enabled = false,
ManagedPolicyArns = new [] { "managedPolicyArns" },
Name = "name",
RequireInstanceProperties = false,
RoleArns = new [] { "roleArns" },
SessionPolicy = "sessionPolicy",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Synopsis
Constructors
| CfnProfileMixinProps() | Properties for CfnProfilePropsMixin. |
Properties
| AcceptRoleSessionName | Used to determine if a custom role session name will be accepted in a temporary credential request. |
| AttributeMappings | A mapping applied to the authenticating end-entity certificate. |
| 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
CfnProfileMixinProps()
Properties for CfnProfilePropsMixin.
public CfnProfileMixinProps()
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.Mixins.Preview.AWS.RolesAnywhere.Mixins;
var cfnProfileMixinProps = new CfnProfileMixinProps {
AcceptRoleSessionName = false,
AttributeMappings = new [] { new AttributeMappingProperty {
CertificateField = "certificateField",
MappingRules = new [] { new MappingRuleProperty {
Specifier = "specifier"
} }
} },
DurationSeconds = 123,
Enabled = false,
ManagedPolicyArns = new [] { "managedPolicyArns" },
Name = "name",
RequireInstanceProperties = false,
RoleArns = new [] { "roleArns" },
SessionPolicy = "sessionPolicy",
Tags = new [] { new CfnTag {
Key = "key",
Value = "value"
} }
};
Properties
AcceptRoleSessionName
Used to determine if a custom role session name will be accepted in a temporary credential request.
public object? AcceptRoleSessionName { get; set; }
Property Value
Remarks
AttributeMappings
A mapping applied to the authenticating end-entity certificate.
public object? AttributeMappings { get; set; }
Property Value
Remarks
DurationSeconds
The number of seconds vended session credentials will be valid for.
public double? DurationSeconds { get; set; }
Property Value
Remarks
Enabled
The enabled status of the resource.
public object? Enabled { get; set; }
Property Value
Remarks
ManagedPolicyArns
A list of managed policy ARNs.
public string[]? ManagedPolicyArns { get; set; }
Property Value
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
Remarks
RequireInstanceProperties
Specifies whether instance properties are required in CreateSession requests with this profile.
public object? RequireInstanceProperties { get; set; }
Property Value
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
string[]
Remarks
SessionPolicy
A session policy that will applied to the trust boundary of the vended session credentials.
public string? SessionPolicy { get; set; }