Interface CfnAPIKeyProps

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnAPIKeyProps.Jsii$Proxy

@Generated(value="jsii-pacmak/1.101.0 (build b95fe5d)", date="2024-08-02T00:29:13.247Z") @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.location.*;
 CfnAPIKeyProps cfnAPIKeyProps = CfnAPIKeyProps.builder()
         .keyName("keyName")
         .restrictions(ApiKeyRestrictionsProperty.builder()
                 .allowActions(List.of("allowActions"))
                 .allowResources(List.of("allowResources"))
                 // the properties below are optional
                 .allowReferers(List.of("allowReferers"))
                 .build())
         // the properties below are optional
         .description("description")
         .expireTime("expireTime")
         .forceDelete(false)
         .forceUpdate(false)
         .noExpiry(false)
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .build();
 

See Also: