@Generated(value="jsii-pacmak/1.70.0 (build 03c2f6f)", date="2022-11-01T13:16:42.715Z") @Stability(value=Experimental) public interface ApiKeyConfig 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.core.*;
import software.amazon.awscdk.services.appsync.*;
Expiration expiration;
ApiKeyConfig apiKeyConfig = ApiKeyConfig.builder()
.description("description")
.expires(expiration)
.name("name")
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
ApiKeyConfig.Builder
A builder for
ApiKeyConfig |
static class |
ApiKeyConfig.Jsii$Proxy
An implementation for
ApiKeyConfig |
| Modifier and Type | Method and Description |
|---|---|
static ApiKeyConfig.Builder |
builder() |
default String |
getDescription()
(experimental) Description of API key.
|
default Expiration |
getExpires()
(experimental) The time from creation time after which the API key expires.
|
default String |
getName()
(experimental) Unique name of the API Key.
|
@Stability(value=Experimental) @Nullable default String getDescription()
Default: - 'Default API Key created by CDK'
@Stability(value=Experimental) @Nullable default Expiration getExpires()
It must be a minimum of 1 day and a maximum of 365 days from date of creation. Rounded down to the nearest hour.
Default: - 7 days rounded down to nearest hour
@Stability(value=Experimental) @Nullable default String getName()
Default: - 'DefaultAPIKey'
@Stability(value=Experimental) static ApiKeyConfig.Builder builder()
ApiKeyConfig.Builder of ApiKeyConfigCopyright © 2022. All rights reserved.