Class CfnHostedConfigurationVersion
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.core.Construct
software.amazon.awscdk.core.CfnElement
software.amazon.awscdk.core.CfnRefElement
software.amazon.awscdk.core.CfnResource
software.amazon.awscdk.services.appconfig.CfnHostedConfigurationVersion
- All Implemented Interfaces:
IConstruct,IDependable,IInspectable,software.amazon.jsii.JsiiSerializable,software.constructs.IConstruct
@Generated(value="jsii-pacmak/1.84.0 (build 5404dcf)",
date="2023-06-19T16:29:55.487Z")
@Stability(Stable)
public class CfnHostedConfigurationVersion
extends CfnResource
implements IInspectable
A CloudFormation
AWS::AppConfig::HostedConfigurationVersion.
Create a new configuration in the AWS AppConfig hosted configuration store. Configurations must be 1 MB or smaller. The AWS AppConfig hosted configuration store provides the following benefits over other configuration store options.
- You don't need to set up and configure other services such as Amazon Simple Storage Service ( Amazon S3 ) or Parameter Store.
- You don't need to configure AWS Identity and Access Management ( IAM ) permissions to use the configuration store.
- You can store configurations in any content type.
- There is no cost to use the store.
- You can create a configuration and add it to the store when you create a configuration profile.
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.appconfig.*;
CfnHostedConfigurationVersion cfnHostedConfigurationVersion = CfnHostedConfigurationVersion.Builder.create(this, "MyCfnHostedConfigurationVersion")
.applicationId("applicationId")
.configurationProfileId("configurationProfileId")
.content("content")
.contentType("contentType")
// the properties below are optional
.description("description")
.latestVersionNumber(123)
.versionLabel("versionLabel")
.build();
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnHostedConfigurationVersion.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstruct
IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class. -
Constructor Summary
ConstructorsModifierConstructorDescriptionCfnHostedConfigurationVersion(Construct scope, String id, CfnHostedConfigurationVersionProps props) Create a newAWS::AppConfig::HostedConfigurationVersion.protectedCfnHostedConfigurationVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protectedCfnHostedConfigurationVersion(software.amazon.jsii.JsiiObjectRef objRef) -
Method Summary
Modifier and TypeMethodDescriptionThe application ID.The configuration profile ID.The content of the configuration or the configuration data.A standard MIME type describing the format of the configuration content.A description of the configuration.An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.A user-defined label for an AWS AppConfig hosted configuration version.voidinspect(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.renderProperties(Map<String, Object> props) voidsetApplicationId(String value) The application ID.voidsetConfigurationProfileId(String value) The configuration profile ID.voidsetContent(String value) The content of the configuration or the configuration data.voidsetContentType(String value) A standard MIME type describing the format of the configuration content.voidsetDescription(String value) A description of the configuration.voidsetLatestVersionNumber(Number value) An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.voidsetVersionLabel(String value) A user-defined label for an AWS AppConfig hosted configuration version.Methods inherited from class software.amazon.awscdk.core.CfnResource
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElement
getRefMethods inherited from class software.amazon.awscdk.core.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.Construct
getNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Field Details
-
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
-
-
Constructor Details
-
CfnHostedConfigurationVersion
protected CfnHostedConfigurationVersion(software.amazon.jsii.JsiiObjectRef objRef) -
CfnHostedConfigurationVersion
protected CfnHostedConfigurationVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) -
CfnHostedConfigurationVersion
@Stability(Stable) public CfnHostedConfigurationVersion(@NotNull Construct scope, @NotNull String id, @NotNull CfnHostedConfigurationVersionProps props) Create a newAWS::AppConfig::HostedConfigurationVersion.- Parameters:
scope-- scope in which this resource is defined.
id-- scoped id of the resource.
props-- resource properties.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspectin interfaceIInspectable- Parameters:
inspector-- tree inspector to collect and process attributes.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderPropertiesin classCfnResource- Parameters:
props- This parameter is required.
-
getCfnProperties
- Overrides:
getCfnPropertiesin classCfnResource
-
getApplicationId
The application ID. -
setApplicationId
The application ID. -
getConfigurationProfileId
The configuration profile ID. -
setConfigurationProfileId
The configuration profile ID. -
getContent
The content of the configuration or the configuration data. -
setContent
The content of the configuration or the configuration data. -
getContentType
A standard MIME type describing the format of the configuration content.For more information, see Content-Type .
-
setContentType
A standard MIME type describing the format of the configuration content.For more information, see Content-Type .
-
getDescription
A description of the configuration. -
setDescription
A description of the configuration. -
getLatestVersionNumber
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
-
setLatestVersionNumber
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.To ensure your data is not overwritten when creating multiple hosted configuration versions in rapid succession, specify the version number of the latest hosted configuration version.
-
getVersionLabel
A user-defined label for an AWS AppConfig hosted configuration version. -
setVersionLabel
A user-defined label for an AWS AppConfig hosted configuration version.
-