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 SummaryNested ClassesModifier and TypeClassDescriptionstatic final classA fluent builder forCfnHostedConfigurationVersion.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObjectsoftware.amazon.jsii.JsiiObject.InitializationModeNested classes/interfaces inherited from interface software.amazon.awscdk.core.IConstructIConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.constructs.IConstructsoftware.constructs.IConstruct.Jsii$DefaultNested classes/interfaces inherited from interface software.amazon.awscdk.core.IInspectableIInspectable.Jsii$Default, IInspectable.Jsii$Proxy
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final StringThe CloudFormation resource type name for this resource class.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionCfnHostedConfigurationVersion(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 SummaryModifier 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.CfnResourceaddDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesMethods inherited from class software.amazon.awscdk.core.CfnRefElementgetRefMethods inherited from class software.amazon.awscdk.core.CfnElementgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdMethods inherited from class software.amazon.awscdk.core.ConstructgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validateMethods inherited from class software.amazon.jsii.JsiiObjectjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.jsii.JsiiSerializable$jsii$toJson
- 
Field Details- 
CFN_RESOURCE_TYPE_NAMEThe CloudFormation resource type name for this resource class.
 
- 
- 
Constructor Details- 
CfnHostedConfigurationVersionprotected CfnHostedConfigurationVersion(software.amazon.jsii.JsiiObjectRef objRef) 
- 
CfnHostedConfigurationVersionprotected 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- 
inspectExamines the CloudFormation resource and discloses attributes.- Specified by:
- inspectin interface- IInspectable
- 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 class- CfnResource
- Parameters:
- props- This parameter is required.
 
- 
getCfnProperties- Overrides:
- getCfnPropertiesin class- CfnResource
 
- 
getApplicationIdThe application ID.
- 
setApplicationIdThe application ID.
- 
getConfigurationProfileIdThe configuration profile ID.
- 
setConfigurationProfileIdThe configuration profile ID.
- 
getContentThe content of the configuration or the configuration data.
- 
setContentThe content of the configuration or the configuration data.
- 
getContentTypeA standard MIME type describing the format of the configuration content.For more information, see Content-Type . 
- 
setContentTypeA standard MIME type describing the format of the configuration content.For more information, see Content-Type . 
- 
getDescriptionA description of the configuration.
- 
setDescriptionA description of the configuration.
- 
getLatestVersionNumberAn 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. 
- 
setLatestVersionNumberAn 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. 
- 
getVersionLabelA user-defined label for an AWS AppConfig hosted configuration version.
- 
setVersionLabelA user-defined label for an AWS AppConfig hosted configuration version.
 
-