Interface CfnApiKeyProps

All Superinterfaces:
All Known Implementing Classes:

@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)", date="2023-06-19T16:30:49.381Z") @Stability(Stable) public interface CfnApiKeyProps extends
Properties for defining a CfnApiKey.


 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 CfnApiKeyProps cfnApiKeyProps = CfnApiKeyProps.builder()
         // the properties below are optional
  • Method Details

    • getApiId

      @Stability(Stable) @NotNull String getApiId()
      Unique AWS AppSync GraphQL API ID for this API key.
    • getApiKeyId

      @Stability(Stable) @Nullable default String getApiKeyId()
      The API key ID.
    • getDescription

      @Stability(Stable) @Nullable default String getDescription()
      Unique description of your API key.
    • getExpires

      @Stability(Stable) @Nullable default Number 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

      @Stability(Stable) static CfnApiKeyProps.Builder builder()
      a CfnApiKeyProps.Builder of CfnApiKeyProps