CfnAccessKeyMixinProps
- class aws_cdk.mixins_preview.aws_iam.mixins.CfnAccessKeyMixinProps(*, serial=None, status=None, user_name=None)
Bases:
objectProperties for CfnAccessKeyPropsMixin.
- Parameters:
serial (
Union[int,float,None]) – This value is specific to CloudFormation and can only be incremented . Incrementing this value notifies CloudFormation that you want to rotate your access key. When you update your stack, CloudFormation will replace the existing access key with a new key.status (
Optional[str]) – The status of the access key.Activemeans that the key is valid for API calls, whileInactivemeans it is not.user_name (
Optional[str]) – The name of the IAM user that the new key will belong to. This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
- See:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-iam-accesskey.html
- 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_iam import mixins as iam_mixins cfn_access_key_mixin_props = iam_mixins.CfnAccessKeyMixinProps( serial=123, status="status", user_name="userName" )
Attributes
- serial
This value is specific to CloudFormation and can only be incremented .
Incrementing this value notifies CloudFormation that you want to rotate your access key. When you update your stack, CloudFormation will replace the existing access key with a new key.
- status
The status of the access key.
Activemeans that the key is valid for API calls, whileInactivemeans it is not.
- user_name
The name of the IAM user that the new key will belong to.
This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-