Class CfnHostedConfigurationVersion
java.lang.Object
software.amazon.jsii.JsiiObject
software.constructs.Construct
software.amazon.awscdk.CfnElement
software.amazon.awscdk.CfnRefElement
software.amazon.awscdk.CfnResource
software.amazon.awscdk.services.appconfig.CfnHostedConfigurationVersion
- All Implemented Interfaces:
IInspectable
,software.amazon.jsii.JsiiSerializable
,software.constructs.IConstruct
,software.constructs.IDependable
@Generated(value="jsii-pacmak/1.103.1 (build bef2dea)",
date="2024-10-05T03:43:38.250Z")
@Stability(Stable)
public class CfnHostedConfigurationVersion
extends CfnResource
implements IInspectable
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();
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
A fluent builder forCfnHostedConfigurationVersion
.Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
Nested classes/interfaces inherited from interface software.constructs.IConstruct
software.constructs.IConstruct.Jsii$Default
Nested classes/interfaces inherited from interface software.amazon.awscdk.IInspectable
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The CloudFormation resource type name for this resource class. -
Constructor Summary
ModifierConstructorDescriptionprotected
CfnHostedConfigurationVersion
(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) protected
CfnHostedConfigurationVersion
(software.amazon.jsii.JsiiObjectRef objRef) CfnHostedConfigurationVersion
(software.constructs.Construct scope, String id, CfnHostedConfigurationVersionProps props) -
Method Summary
Modifier and TypeMethodDescriptionThe application ID.The configuration version.The configuration profile ID.The configuration data, as bytes.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.void
inspect
(TreeInspector inspector) Examines the CloudFormation resource and discloses attributes.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 configuration data, as bytes.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.void
setVersionLabel
(String value) A user-defined label for an AWS AppConfig hosted configuration version.Methods inherited from class software.amazon.awscdk.CfnResource
addDeletionOverride, addDependency, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, getUpdatedProperties, isCfnResource, obtainDependencies, obtainResourceDependencies, removeDependency, replaceDependency, shouldSynthesize, toString, validateProperties
Methods inherited from class software.amazon.awscdk.CfnRefElement
getRef
Methods inherited from class software.amazon.awscdk.CfnElement
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
Methods inherited from class software.constructs.Construct
getNode, isConstruct
Methods inherited from class software.amazon.jsii.JsiiObject
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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 software.constructs.Construct scope, @NotNull String id, @NotNull CfnHostedConfigurationVersionProps props) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.props
- Resource properties. This parameter is required.
-
-
Method Details
-
inspect
Examines the CloudFormation resource and discloses attributes.- Specified by:
inspect
in interfaceIInspectable
- Parameters:
inspector
- tree inspector to collect and process attributes. This parameter is required.
-
renderProperties
@Stability(Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String, Object> props) - Overrides:
renderProperties
in classCfnResource
- Parameters:
props
- This parameter is required.
-
getAttrVersionNumber
The configuration version. -
getCfnProperties
- Overrides:
getCfnProperties
in classCfnResource
-
getApplicationId
The application ID. -
setApplicationId
The application ID. -
getConfigurationProfileId
The configuration profile ID. -
setConfigurationProfileId
The configuration profile ID. -
getContent
The configuration data, as bytes. -
setContent
The configuration data, as bytes. -
getContentType
A standard MIME type describing the format of the configuration content. -
setContentType
A standard MIME type describing the format of the configuration content. -
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. -
setLatestVersionNumber
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new 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.
-