@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:36.657Z") @Stability(value=Stable) public interface CfnApiKeyProps 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.appsync.*;
CfnApiKeyProps cfnApiKeyProps = CfnApiKeyProps.builder()
.apiId("apiId")
// the properties below are optional
.apiKeyId("apiKeyId")
.description("description")
.expires(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnApiKeyProps.Builder
A builder for
CfnApiKeyProps |
static class |
CfnApiKeyProps.Jsii$Proxy
An implementation for
CfnApiKeyProps |
| Modifier and Type | Method and Description |
|---|---|
static CfnApiKeyProps.Builder |
builder() |
String |
getApiId()
Unique AWS AppSync GraphQL API ID for this API key.
|
default String |
getApiKeyId()
The API key ID.
|
default String |
getDescription()
Unique description of your API key.
|
default Number |
getExpires()
The time after which the API key expires.
|
@Stability(value=Stable) @NotNull String getApiId()
@Stability(value=Stable) @Nullable default String getApiKeyId()
@Stability(value=Stable) @Nullable default String getDescription()
@Stability(value=Stable) @Nullable default Number getExpires()
The date is represented as seconds since the epoch, rounded down to the nearest hour.
@Stability(value=Stable) static CfnApiKeyProps.Builder builder()
CfnApiKeyProps.Builder of CfnApiKeyPropsCopyright © 2022. All rights reserved.