Interface CfnApiKeyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiKeyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-11T15:55:53.401Z")
@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 .description("description") .expires(123) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnApiKeyProps
static final class
An implementation forCfnApiKeyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApiKeyProps.Builder
builder()
getApiId()
Unique AWS AppSync GraphQL API ID for this API key.default String
Unique description of your API key.default Number
The time after which the API key expires.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getApiId
Unique AWS AppSync GraphQL API ID for this API key.- See Also:
-
getDescription
Unique description of your API key.- See Also:
-
getExpires
The time after which the API key expires.The date is represented as seconds since the epoch, rounded down to the nearest hour.
- See Also:
-
builder
- Returns:
- a
CfnApiKeyProps.Builder
ofCfnApiKeyProps
-