| Modifier and Type | Method and Description |
|---|---|
AccessKey |
build() |
static AccessKey.Builder |
create(software.constructs.Construct scope,
String id) |
AccessKey.Builder |
serial(Number serial)
A CloudFormation-specific value that signifies the access key should be replaced/rotated.
|
AccessKey.Builder |
status(AccessKeyStatus status)
The status of the access key.
|
AccessKey.Builder |
user(IUser user)
The IAM user this key will belong to.
|
@Stability(value=Stable) public static AccessKey.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.AccessKey.Builder.@Stability(value=Stable) public AccessKey.Builder user(IUser user)
Changing this value will result in the access key being deleted and a new access key (with a different ID and secret value) being assigned to the new user.
user - The IAM user this key will belong to. This parameter is required.this@Stability(value=Stable) public AccessKey.Builder serial(Number serial)
This value can only be incremented. Incrementing this value will cause CloudFormation to replace the Access Key resource.
Default: - No serial value
serial - A CloudFormation-specific value that signifies the access key should be replaced/rotated. This parameter is required.this@Stability(value=Stable) public AccessKey.Builder status(AccessKeyStatus status)
An Active access key is allowed to be used to make API calls; An Inactive key cannot.
Default: - The access key is active
status - The status of the access key. This parameter is required.thisCopyright © 2022. All rights reserved.