@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:39.715Z") @Stability(value=Stable) public interface CfnAccessKeyProps extends software.amazon.jsii.JsiiSerializable
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.iam.*;
CfnAccessKeyProps cfnAccessKeyProps = CfnAccessKeyProps.builder()
.userName("userName")
// the properties below are optional
.serial(123)
.status("status")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnAccessKeyProps.Builder
A builder for
CfnAccessKeyProps |
static class |
CfnAccessKeyProps.Jsii$Proxy
An implementation for
CfnAccessKeyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnAccessKeyProps.Builder |
builder() |
default Number |
getSerial()
This value is specific to CloudFormation and can only be *incremented* .
|
default String |
getStatus()
The status of the access key.
|
String |
getUserName()
The name of the IAM user that the new key will belong to.
|
@Stability(value=Stable) @NotNull String getUserName()
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: _+=,.@-
@Stability(value=Stable) @Nullable default Number getSerial()
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.
@Stability(value=Stable) @Nullable default String getStatus()
Active means that the key is valid for API calls, while Inactive means it is not.
@Stability(value=Stable) static CfnAccessKeyProps.Builder builder()
CfnAccessKeyProps.Builder of CfnAccessKeyPropsCopyright © 2022. All rights reserved.