CfnProfileMixinProps
- class aws_cdk.mixins_preview.aws_rolesanywhere.mixins.CfnProfileMixinProps(*, accept_role_session_name=None, attribute_mappings=None, duration_seconds=None, enabled=None, managed_policy_arns=None, name=None, require_instance_properties=None, role_arns=None, session_policy=None, tags=None)
Bases:
objectProperties for CfnProfilePropsMixin.
- Parameters:
accept_role_session_name (
Union[bool,IResolvable,None]) – Used to determine if a custom role session name will be accepted in a temporary credential request.attribute_mappings (
Union[IResolvable,Sequence[Union[IResolvable,AttributeMappingProperty,Dict[str,Any]]],None]) – A mapping applied to the authenticating end-entity certificate.duration_seconds (
Union[int,float,None]) – The number of seconds vended session credentials will be valid for.enabled (
Union[bool,IResolvable,None]) – The enabled status of the resource.managed_policy_arns (
Optional[Sequence[str]]) – A list of managed policy ARNs. Managed policies identified by this list will be applied to the vended session credentials.name (
Optional[str]) – The customer specified name of the resource.require_instance_properties (
Union[bool,IResolvable,None]) – Specifies whether instance properties are required in CreateSession requests with this profile.role_arns (
Optional[Sequence[str]]) – A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.session_policy (
Optional[str]) – A session policy that will applied to the trust boundary of the vended session credentials.tags (
Optional[Sequence[Union[CfnTag,Dict[str,Any]]]]) – A list of Tags.
- See:
- ExampleMetadata:
fixture=_generated
Example:
# The code below shows an example of how to instantiate this type. # The values are placeholders you should change. from aws_cdk.mixins_preview.aws_rolesanywhere import mixins as rolesanywhere_mixins cfn_profile_mixin_props = rolesanywhere_mixins.CfnProfileMixinProps( accept_role_session_name=False, attribute_mappings=[rolesanywhere_mixins.CfnProfilePropsMixin.AttributeMappingProperty( certificate_field="certificateField", mapping_rules=[rolesanywhere_mixins.CfnProfilePropsMixin.MappingRuleProperty( specifier="specifier" )] )], duration_seconds=123, enabled=False, managed_policy_arns=["managedPolicyArns"], name="name", require_instance_properties=False, role_arns=["roleArns"], session_policy="sessionPolicy", tags=[CfnTag( key="key", value="value" )] )
Attributes
- accept_role_session_name
Used to determine if a custom role session name will be accepted in a temporary credential request.
- attribute_mappings
A mapping applied to the authenticating end-entity certificate.
- duration_seconds
The number of seconds vended session credentials will be valid for.
- enabled
The enabled status of the resource.
- managed_policy_arns
A list of managed policy ARNs.
Managed policies identified by this list will be applied to the vended session credentials.
- name
The customer specified name of the resource.
- require_instance_properties
Specifies whether instance properties are required in CreateSession requests with this profile.
- role_arns
A list of IAM role ARNs that can be assumed when this profile is specified in a CreateSession request.
- session_policy
A session policy that will applied to the trust boundary of the vended session credentials.