Class CfnHostedConfigurationVersion
Create a new configuration in the AWS AppConfig hosted configuration store.
Implements
Inherited Members
Namespace: Amazon.CDK.AWS.AppConfig
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class CfnHostedConfigurationVersion : CfnResource, IInspectable
Syntax (vb)
Public Class CfnHostedConfigurationVersion
Inherits CfnResource
Implements IInspectable
Remarks
Configurations must be 1 MB or smaller. The AWS AppConfig hosted configuration store provides the following benefits over other configuration store options.
CloudformationResource: AWS::AppConfig::HostedConfigurationVersion
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.AppConfig;
var cfnHostedConfigurationVersion = new CfnHostedConfigurationVersion(this, "MyCfnHostedConfigurationVersion", new CfnHostedConfigurationVersionProps {
ApplicationId = "applicationId",
ConfigurationProfileId = "configurationProfileId",
Content = "content",
ContentType = "contentType",
// the properties below are optional
Description = "description",
LatestVersionNumber = 123,
VersionLabel = "versionLabel"
});
Synopsis
Constructors
CfnHostedConfigurationVersion(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
CfnHostedConfigurationVersion(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
CfnHostedConfigurationVersion(Construct, String, ICfnHostedConfigurationVersionProps) |
Properties
ApplicationId | The application ID. |
AttrVersionNumber | The configuration version. |
CFN_RESOURCE_TYPE_NAME | The CloudFormation resource type name for this resource class. |
CfnProperties | |
ConfigurationProfileId | The configuration profile ID. |
Content | The content of the configuration or the configuration data. |
ContentType | A standard MIME type describing the format of the configuration content. |
Description | A description of the configuration. |
LatestVersionNumber | An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version. |
VersionLabel | A user-defined label for an AWS AppConfig hosted configuration version. |
Methods
Inspect(TreeInspector) | Examines the CloudFormation resource and discloses attributes. |
RenderProperties(IDictionary<String, Object>) |
Constructors
CfnHostedConfigurationVersion(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected CfnHostedConfigurationVersion(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
CfnHostedConfigurationVersion(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected CfnHostedConfigurationVersion(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
CfnHostedConfigurationVersion(Construct, String, ICfnHostedConfigurationVersionProps)
public CfnHostedConfigurationVersion(Construct scope, string id, ICfnHostedConfigurationVersionProps props)
Parameters
- scope Constructs.Construct
Scope in which this resource is defined.
- id System.String
Construct identifier for this resource (unique in its scope).
- props ICfnHostedConfigurationVersionProps
Resource properties.
Properties
ApplicationId
The application ID.
public virtual string ApplicationId { get; set; }
Property Value
System.String
AttrVersionNumber
The configuration version.
public virtual string AttrVersionNumber { get; }
Property Value
System.String
Remarks
CloudformationAttribute: VersionNumber
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
public static string CFN_RESOURCE_TYPE_NAME { get; }
Property Value
System.String
CfnProperties
protected override IDictionary<string, object> CfnProperties { get; }
Property Value
System.Collections.Generic.IDictionary<System.String, System.Object>
Overrides
ConfigurationProfileId
The configuration profile ID.
public virtual string ConfigurationProfileId { get; set; }
Property Value
System.String
Content
The content of the configuration or the configuration data.
public virtual string Content { get; set; }
Property Value
System.String
ContentType
A standard MIME type describing the format of the configuration content.
public virtual string ContentType { get; set; }
Property Value
System.String
Description
A description of the configuration.
public virtual string Description { get; set; }
Property Value
System.String
LatestVersionNumber
An optional locking token used to prevent race conditions from overwriting configuration updates when creating a new version.
public virtual Nullable<double> LatestVersionNumber { get; set; }
Property Value
System.Nullable<System.Double>
VersionLabel
A user-defined label for an AWS AppConfig hosted configuration version.
public virtual string VersionLabel { get; set; }
Property Value
System.String
Methods
Inspect(TreeInspector)
Examines the CloudFormation resource and discloses attributes.
public virtual void Inspect(TreeInspector inspector)
Parameters
- inspector TreeInspector
tree inspector to collect and process attributes.
RenderProperties(IDictionary<String, Object>)
protected override IDictionary<string, object> RenderProperties(IDictionary<string, object> props)
Parameters
- props System.Collections.Generic.IDictionary<System.String, System.Object>
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>