@Generated(value="jsii-pacmak/1.54.0 (build b1b977a)", date="2022-03-17T13:49:46.681Z") @Stability(value=Stable) public interface AccessKeyProps extends software.amazon.jsii.JsiiSerializable
Example:
User user = new User(this, "MyUser"); AccessKey accessKey = AccessKey.Builder.create(this, "MyAccessKey").user(user).serial(1).build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
AccessKeyProps.Builder
A builder for
AccessKeyProps |
static class |
AccessKeyProps.Jsii$Proxy
An implementation for
AccessKeyProps |
| Modifier and Type | Method and Description |
|---|---|
static AccessKeyProps.Builder |
builder() |
default Number |
getSerial()
A CloudFormation-specific value that signifies the access key should be replaced/rotated.
|
default AccessKeyStatus |
getStatus()
The status of the access key.
|
IUser |
getUser()
The IAM user this key will belong to.
|
@Stability(value=Stable) @NotNull IUser getUser()
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.
@Stability(value=Stable) @Nullable default Number getSerial()
This value can only be incremented. Incrementing this value will cause CloudFormation to replace the Access Key resource.
Default: - No serial value
@Stability(value=Stable) @Nullable default AccessKeyStatus getStatus()
An Active access key is allowed to be used to make API calls; An Inactive key cannot.
Default: - The access key is active
@Stability(value=Stable) static AccessKeyProps.Builder builder()
AccessKeyProps.Builder of AccessKeyPropsCopyright © 2022. All rights reserved.