Interface CfnApiKeyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnApiKeyProps.Jsii$Proxy
@Generated(value="jsii-pacmak/1.119.0 (build 1634eac)",
date="2025-11-13T16:09:58.899Z")
@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
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApiKeyPropsstatic final classAn implementation forCfnApiKeyProps -
Method Summary
Modifier and TypeMethodDescriptionstatic CfnApiKeyProps.Builderbuilder()getApiId()Unique AWS AppSync GraphQL API ID for this API key.default StringUnique description of your API key.default NumberThe 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.BuilderofCfnApiKeyProps
-