@Stability(value=Stable) public static final class CfnAccessKey.Builder extends Object implements software.amazon.jsii.Builder<CfnAccessKey>
CfnAccessKey.| Modifier and Type | Method and Description |
|---|---|
CfnAccessKey |
build() |
static CfnAccessKey.Builder |
create(software.constructs.Construct scope,
String id) |
CfnAccessKey.Builder |
serial(Number serial)
This value is specific to CloudFormation and can only be *incremented* .
|
CfnAccessKey.Builder |
status(String status)
The status of the access key.
|
CfnAccessKey.Builder |
userName(String userName)
The name of the IAM user that the new key will belong to.
|
@Stability(value=Stable) public static CfnAccessKey.Builder create(software.constructs.Construct scope, String id)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.CfnAccessKey.Builder.@Stability(value=Stable) public CfnAccessKey.Builder userName(String userName)
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: _+=,.@-
userName - The name of the IAM user that the new key will belong to. This parameter is required.this@Stability(value=Stable) public CfnAccessKey.Builder serial(Number serial)
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.
serial - This value is specific to CloudFormation and can only be *incremented* . This parameter is required.this@Stability(value=Stable) public CfnAccessKey.Builder status(String status)
Active means that the key is valid for API calls, while Inactive means it is not.
status - The status of the access key. This parameter is required.this@Stability(value=Stable) public CfnAccessKey build()
build in interface software.amazon.jsii.Builder<CfnAccessKey>Copyright © 2022. All rights reserved.