Interface CfnApiKeyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiKeyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:30:49.381Z")
@Stability(Stable)
public interface CfnApiKeyProps
extends software.amazon.jsii.JsiiSerializable
Properties for defining a
CfnApiKey.
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();
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApiKeyPropsstatic final classAn implementation forCfnApiKeyProps -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
Unique AWS AppSync GraphQL API ID for this API key. -
getApiKeyId
The API key ID. -
getDescription
Unique description of your API key. -
getExpires
The time after which the API key expires.The date is represented as seconds since the epoch, rounded down to the nearest hour.
-
builder
- Returns:
- a
CfnApiKeyProps.BuilderofCfnApiKeyProps
-