Class CfnProfilePropsMixin
Creates a Profile.
Implements
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.RolesAnywhere.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnProfilePropsMixin : Mixin, IMixin
Syntax (vb)
Public Class CfnProfilePropsMixin Inherits Mixin Implements IMixin
Remarks
CloudformationResource: AWS::RolesAnywhere::Profile
Mixin: true
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.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.RolesAnywhere.Mixins;
var cfnProfilePropsMixin = new CfnProfilePropsMixin(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"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Synopsis
Constructors
| CfnProfilePropsMixin(ICfnProfileMixinProps, ICfnPropertyMixinOptions?) | Create a mixin to apply properties to |
Properties
| CFN_PROPERTY_KEYS | Creates a Profile. |
| Props | Creates a Profile. |
| Strategy | Creates a Profile. |
Methods
| ApplyTo(IConstruct) | Apply the mixin properties to the construct. |
| Supports(IConstruct) | Check if this mixin supports the given construct. |
Constructors
CfnProfilePropsMixin(ICfnProfileMixinProps, ICfnPropertyMixinOptions?)
Create a mixin to apply properties to AWS::RolesAnywhere::Profile.
public CfnProfilePropsMixin(ICfnProfileMixinProps props, ICfnPropertyMixinOptions? options = null)
Parameters
- props ICfnProfileMixinProps
L1 properties to apply.
- options ICfnPropertyMixinOptions
Mixin options.
Remarks
CloudformationResource: AWS::RolesAnywhere::Profile
Mixin: true
ExampleMetadata: fixture=_generated
Properties
CFN_PROPERTY_KEYS
Creates a Profile.
protected static string[] CFN_PROPERTY_KEYS { get; }
Property Value
string[]
Remarks
CloudformationResource: AWS::RolesAnywhere::Profile
Mixin: true
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.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.RolesAnywhere.Mixins;
var cfnProfilePropsMixin = new CfnProfilePropsMixin(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"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Props
Creates a Profile.
protected virtual ICfnProfileMixinProps Props { get; }
Property Value
Remarks
CloudformationResource: AWS::RolesAnywhere::Profile
Mixin: true
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.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.RolesAnywhere.Mixins;
var cfnProfilePropsMixin = new CfnProfilePropsMixin(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"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Strategy
Creates a Profile.
protected virtual PropertyMergeStrategy Strategy { get; }
Property Value
Remarks
CloudformationResource: AWS::RolesAnywhere::Profile
Mixin: true
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.Mixins;
using Amazon.CDK.Mixins.Preview.AWS.RolesAnywhere.Mixins;
var cfnProfilePropsMixin = new CfnProfilePropsMixin(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"
} }
}, new CfnPropertyMixinOptions {
Strategy = PropertyMergeStrategy.OVERRIDE
});
Methods
ApplyTo(IConstruct)
Apply the mixin properties to the construct.
public override IConstruct ApplyTo(IConstruct construct)
Parameters
- construct IConstruct
Returns
IConstruct
Overrides
Remarks
CloudformationResource: AWS::RolesAnywhere::Profile
Mixin: true
ExampleMetadata: fixture=_generated
Supports(IConstruct)
Check if this mixin supports the given construct.
public override bool Supports(IConstruct construct)
Parameters
- construct IConstruct
Returns
Overrides
Remarks
CloudformationResource: AWS::RolesAnywhere::Profile
Mixin: true
ExampleMetadata: fixture=_generated