Class CfnAPIKeyProps.Jsii$Proxy
- All Implemented Interfaces:
CfnAPIKeyProps,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
CfnAPIKeyProps
CfnAPIKeyProps-
Nested Class Summary
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.services.location.CfnAPIKeyProps
CfnAPIKeyProps.Builder, CfnAPIKeyProps.Jsii$Proxy -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedJsii$Proxy(CfnAPIKeyProps.Builder builder) Constructor that initializes the object based on literal property values passed by theCfnAPIKeyProps.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject. -
Method Summary
Modifier and TypeMethodDescriptioncom.fasterxml.jackson.databind.JsonNodefinal booleanfinal StringUpdates the description for the API key resource.final StringThe optional timestamp for when the API key resource will expire in ISO 8601 format .final ObjectForceDelete bypasses an API key's expiry conditions and deletes the key.final ObjectThe boolean flag to be included for updatingExpireTimeor Restrictions details.final StringA custom name for the API key resource.final ObjectWhether the API key should expire.final ObjectThe API key restrictions for the API key resource.getTags()Applies one or more tags to the map resource.final inthashCode()Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
-
Constructor Details
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef) Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
Constructor that initializes the object based on literal property values passed by theCfnAPIKeyProps.Builder.
-
-
Method Details
-
getKeyName
Description copied from interface:CfnAPIKeyPropsA custom name for the API key resource.Requirements:
- Contain only alphanumeric characters (A–Z, a–z, 0–9), hyphens (-), periods (.), and underscores (_).
- Must be a unique API key name.
- No spaces allowed. For example,
ExampleAPIKey.
- Specified by:
getKeyNamein interfaceCfnAPIKeyProps- See Also:
-
getRestrictions
Description copied from interface:CfnAPIKeyPropsThe API key restrictions for the API key resource.Returns union: either
IResolvableorCfnAPIKey.ApiKeyRestrictionsProperty- Specified by:
getRestrictionsin interfaceCfnAPIKeyProps- See Also:
-
getDescription
Description copied from interface:CfnAPIKeyPropsUpdates the description for the API key resource.- Specified by:
getDescriptionin interfaceCfnAPIKeyProps- See Also:
-
getExpireTime
Description copied from interface:CfnAPIKeyPropsThe optional timestamp for when the API key resource will expire in ISO 8601 format .- Specified by:
getExpireTimein interfaceCfnAPIKeyProps- See Also:
-
getForceDelete
Description copied from interface:CfnAPIKeyPropsForceDelete bypasses an API key's expiry conditions and deletes the key.Set the parameter
trueto delete the key or tofalseto not preemptively delete the API key.Valid values:
true, orfalse.This action is irreversible. Only use ForceDelete if you are certain the key is no longer in use.
Returns union: either
BooleanorIResolvable- Specified by:
getForceDeletein interfaceCfnAPIKeyProps- See Also:
-
getForceUpdate
Description copied from interface:CfnAPIKeyPropsThe boolean flag to be included for updatingExpireTimeor Restrictions details.Must be set to
trueto update an API key resource that has been used in the past 7 days.Falseif force update is not preferred.Returns union: either
BooleanorIResolvable- Specified by:
getForceUpdatein interfaceCfnAPIKeyProps- See Also:
-
getNoExpiry
Description copied from interface:CfnAPIKeyPropsWhether the API key should expire.Set to
trueto set the API key to have no expiration time.Returns union: either
BooleanorIResolvable- Specified by:
getNoExpiryin interfaceCfnAPIKeyProps- See Also:
-
getTags
Description copied from interface:CfnAPIKeyPropsApplies one or more tags to the map resource.A tag is a key-value pair that helps manage, identify, search, and filter your resources by labelling them.
- Specified by:
getTagsin interfaceCfnAPIKeyProps- See Also:
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
equals
-
hashCode
public final int hashCode()
-