@Generated(value="jsii-pacmak/1.50.0 (build d1830a4)", date="2022-01-04T15:39:02.150Z") @Stability(value=Stable) public class CfnHostedConfigurationVersion extends CfnResource implements IInspectable
Create a new configuration in the AWS AppConfig hosted configuration store. Configurations must be 64 KB or smaller. The AWS AppConfig hosted configuration store provides the following benefits over other configuration store options.
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)
.build();
| Modifier and Type | Class and Description |
|---|---|
static class |
CfnHostedConfigurationVersion.Builder
A fluent builder for
CfnHostedConfigurationVersion. |
software.amazon.jsii.JsiiObject.InitializationModeIInspectable.Jsii$Default, IInspectable.Jsii$ProxyIConstruct.Jsii$Default| Modifier and Type | Field and Description |
|---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
| Modifier | Constructor and Description |
|---|---|
|
CfnHostedConfigurationVersion(Construct scope,
String id,
CfnHostedConfigurationVersionProps props)
Create a new `AWS::AppConfig::HostedConfigurationVersion`.
|
protected |
CfnHostedConfigurationVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnHostedConfigurationVersion(software.amazon.jsii.JsiiObjectRef objRef) |
| Modifier and Type | Method and Description |
|---|---|
String |
getApplicationId()
The application ID.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getConfigurationProfileId()
The configuration profile ID.
|
String |
getContent()
The content of the configuration or the configuration data.
|
String |
getContentType()
A standard MIME type describing the format of the configuration content.
|
String |
getDescription()
A description of the configuration.
|
Number |
getLatestVersionNumber()
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setApplicationId(String value)
The application ID.
|
void |
setConfigurationProfileId(String value)
The configuration profile ID.
|
void |
setContent(String value)
The content of the configuration or the configuration data.
|
void |
setContentType(String value)
A standard MIME type describing the format of the configuration content.
|
void |
setDescription(String value)
A description of the configuration.
|
void |
setLatestVersionNumber(Number value)
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validatePropertiesgetRefgetCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalIdgetNode, isConstruct, onPrepare, onSynthesize, onValidate, prepare, synthesize, validatejsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnHostedConfigurationVersion(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnHostedConfigurationVersion(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public CfnHostedConfigurationVersion(@NotNull
Construct scope,
@NotNull
String id,
@NotNull
CfnHostedConfigurationVersionProps props)
scope - - scope in which this resource is defined. This parameter is required.id - - scoped id of the resource. This parameter is required.props - - resource properties. This parameter is required.@Stability(value=Stable)
public void inspect(@NotNull
TreeInspector inspector)
inspect in interface IInspectableinspector - - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties in class CfnResourceprops - This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties in class CfnResource@Stability(value=Stable) @NotNull public String getApplicationId()
@Stability(value=Stable)
public void setApplicationId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getConfigurationProfileId()
@Stability(value=Stable)
public void setConfigurationProfileId(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getContent()
@Stability(value=Stable)
public void setContent(@NotNull
String value)
@Stability(value=Stable) @NotNull public String getContentType()
For more information, see Content-Type .
@Stability(value=Stable)
public void setContentType(@NotNull
String value)
For more information, see Content-Type .
@Stability(value=Stable) @Nullable public String getDescription()
@Stability(value=Stable)
public void setDescription(@Nullable
String value)
@Stability(value=Stable) @Nullable public Number getLatestVersionNumber()
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.
@Stability(value=Stable)
public void setLatestVersionNumber(@Nullable
Number value)
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.
Copyright © 2022. All rights reserved.