@Generated(value="jsii-pacmak/1.60.0 (build ebcefe6)",
date="2022-07-01T09:58:31.151Z")
public interface CfnAccessKeyProps
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 java.lang.Number |
getSerial()
This value is specific to CloudFormation and can only be *incremented* .
|
default java.lang.String |
getStatus()
The status of the access key.
|
java.lang.String |
getUserName()
The name of the IAM user that the new key will belong to.
|
java.lang.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: _+=,.@-
default java.lang.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.
default java.lang.String getStatus()
Active
means that the key is valid for API calls, while Inactive
means it is not.
static CfnAccessKeyProps.Builder builder()
CfnAccessKeyProps.Builder
of CfnAccessKeyProps