Interface CfnApiKeyProps
- All Superinterfaces:
- software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
- CfnApiKeyProps.Jsii$Proxy
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.apigateway.*;
 CfnApiKeyProps cfnApiKeyProps = CfnApiKeyProps.builder()
         .customerId("customerId")
         .description("description")
         .enabled(false)
         .generateDistinctId(false)
         .name("name")
         .stageKeys(List.of(StageKeyProperty.builder()
                 .restApiId("restApiId")
                 .stageName("stageName")
                 .build()))
         .tags(List.of(CfnTag.builder()
                 .key("key")
                 .value("value")
                 .build()))
         .value("value")
         .build();
 - See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnApiKeyPropsstatic final classAn implementation forCfnApiKeyProps
- 
Method SummaryModifier and TypeMethodDescriptionstatic CfnApiKeyProps.Builderbuilder()default StringAn AWS Marketplace customer identifier, when integrating with the AWS SaaS Marketplace.default StringThe description of the ApiKey.default ObjectSpecifies whether the ApiKey can be used by callers.default ObjectSpecifies whether (true) or not (false) the key identifier is distinct from the created API key value.default StringgetName()A name for the API key.default ObjectDEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.getTags()The key-value map of strings.default StringgetValue()Specifies a value of the API key.Methods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Method Details- 
getCustomerIdAn AWS Marketplace customer identifier, when integrating with the AWS SaaS Marketplace.- See Also:
 
- 
getDescriptionThe description of the ApiKey.- See Also:
 
- 
getEnabledSpecifies whether the ApiKey can be used by callers.Returns union: either BooleanorIResolvableDefault: - false - See Also:
 
- 
getGenerateDistinctIdSpecifies whether (true) or not (false) the key identifier is distinct from the created API key value.This parameter is deprecated and should not be used. Returns union: either BooleanorIResolvable- See Also:
 
- 
getNameA name for the API key.If you don't specify a name, AWS CloudFormation generates a unique physical ID and uses that ID for the API key name. For more information, see Name Type . If you specify a name, you cannot perform updates that require replacement of this resource. You can perform updates that require no or some interruption. If you must replace the resource, specify a new name. - See Also:
 
- 
getStageKeysDEPRECATED FOR USAGE PLANS - Specifies stages associated with the API key.Returns union: either IResolvableor Listinvalid input: '<'eitherIResolvableorCfnApiKey.StageKeyProperty>- See Also:
 
- 
getTagsThe key-value map of strings.The valid character set is [a-zA-Z+-=._:/]. The tag key can be up to 128 characters and must not start with aws:. The tag value can be up to 256 characters.- See Also:
 
- 
getValueSpecifies a value of the API key.- See Also:
 
- 
builder- Returns:
- a CfnApiKeyProps.BuilderofCfnApiKeyProps
 
 
-