Class HostedConfiguration
(deprecated) A hosted configuration represents configuration stored in the AWS AppConfig hosted configuration store.
Inheritance
Namespace: Amazon.CDK.AWS.AppConfig.Alpha
Assembly: Amazon.CDK.AWS.AppConfig.Alpha.dll
Syntax (csharp)
public class HostedConfiguration : Construct, IConfiguration, IExtensible
Syntax (vb)
Public Class HostedConfiguration
Inherits Construct
Implements IConfiguration, IExtensible
Remarks
Stability: Deprecated
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.Alpha;
using Amazon.CDK.AWS.KMS;
Application application;
ConfigurationContent configurationContent;
DeploymentStrategy deploymentStrategy;
Environment environment;
Key key;
IValidator validator;
var hostedConfiguration = new HostedConfiguration(this, "MyHostedConfiguration", new HostedConfigurationProps {
Application = application,
Content = configurationContent,
// the properties below are optional
DeploymentKey = key,
DeploymentStrategy = deploymentStrategy,
DeployTo = new [] { environment },
Description = "description",
LatestVersionNumber = 123,
Name = "name",
Type = ConfigurationType.FREEFORM,
Validators = new [] { validator },
VersionLabel = "versionLabel"
});
Synopsis
Constructors
HostedConfiguration(ByRefValue) | Used by jsii to construct an instance of this class from a Javascript-owned object reference |
HostedConfiguration(DeputyBase.DeputyProps) | Used by jsii to construct an instance of this class from DeputyProps |
HostedConfiguration(Construct, String, IHostedConfigurationProps) |
Properties
Application | (deprecated) The application associated with the configuration. |
ApplicationId | |
ConfigurationProfileArn | (deprecated) The Amazon Resource Name (ARN) of the configuration profile. |
ConfigurationProfileId | (deprecated) The ID of the configuration profile. |
Content | (deprecated) The content of the hosted configuration. |
ContentType | (deprecated) The content type of the hosted configuration. |
DeploymentKey | (deprecated) The deployment key for the configuration. |
DeploymentStrategy | (deprecated) The deployment strategy for the configuration. |
DeployTo | (deprecated) The environments to deploy to. |
Description | (deprecated) The description of the configuration. |
Extensible | |
HostedConfigurationVersionArn | (deprecated) The Amazon Resource Name (ARN) of the hosted configuration version. |
LatestVersionNumber | (deprecated) The latest version number of the hosted configuration. |
Name | (deprecated) The name of the configuration. |
Type | (deprecated) The configuration type. |
Validators | (deprecated) The validators for the configuration. |
VersionLabel | (deprecated) The version label of the hosted configuration. |
VersionNumber | (deprecated) The version number of the hosted configuration. |
Methods
AddExistingEnvironmentsToApplication() | |
AddExtension(IExtension) | (deprecated) Adds an extension association to the configuration profile. |
Deploy(IEnvironment) | (deprecated) Deploys the configuration to the specified environment. |
DeployConfigToEnvironments() | |
On(ActionPoint, IEventDestination, IExtensionOptions) | (deprecated) Adds an extension defined by the action point and event destination and also creates an extension association to the configuration profile. |
OnDeploymentBaking(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the configuration profile. |
OnDeploymentComplete(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the configuration profile. |
OnDeploymentRolledBack(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the configuration profile. |
OnDeploymentStart(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the configuration profile. |
OnDeploymentStep(IEventDestination, IExtensionOptions) | (deprecated) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the configuration profile. |
PreCreateHostedConfigurationVersion(IEventDestination, IExtensionOptions) | (deprecated) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the configuration profile. |
PreStartDeployment(IEventDestination, IExtensionOptions) | (deprecated) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the configuration profile. |
Constructors
HostedConfiguration(ByRefValue)
Used by jsii to construct an instance of this class from a Javascript-owned object reference
protected HostedConfiguration(ByRefValue reference)
Parameters
- reference Amazon.JSII.Runtime.Deputy.ByRefValue
The Javascript-owned object reference
HostedConfiguration(DeputyBase.DeputyProps)
Used by jsii to construct an instance of this class from DeputyProps
protected HostedConfiguration(DeputyBase.DeputyProps props)
Parameters
- props Amazon.JSII.Runtime.Deputy.DeputyBase.DeputyProps
The deputy props
HostedConfiguration(Construct, String, IHostedConfigurationProps)
public HostedConfiguration(Construct scope, string id, IHostedConfigurationProps props)
Parameters
- scope Constructs.Construct
- id System.String
- props IHostedConfigurationProps
Remarks
Stability: Deprecated
Properties
Application
(deprecated) The application associated with the configuration.
public virtual IApplication Application { get; }
Property Value
Remarks
Stability: Deprecated
ApplicationId
protected virtual string ApplicationId { get; set; }
Property Value
System.String
Remarks
Stability: Deprecated
ConfigurationProfileArn
(deprecated) The Amazon Resource Name (ARN) of the configuration profile.
public virtual string ConfigurationProfileArn { get; }
Property Value
System.String
Remarks
Stability: Deprecated
ConfigurationProfileId
(deprecated) The ID of the configuration profile.
public virtual string ConfigurationProfileId { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Content
(deprecated) The content of the hosted configuration.
public virtual string Content { get; }
Property Value
System.String
Remarks
Stability: Deprecated
ContentType
(deprecated) The content type of the hosted configuration.
public virtual string ContentType { get; }
Property Value
System.String
Remarks
Stability: Deprecated
DeploymentKey
(deprecated) The deployment key for the configuration.
public virtual IKey DeploymentKey { get; }
Property Value
Remarks
Stability: Deprecated
DeploymentStrategy
(deprecated) The deployment strategy for the configuration.
public virtual IDeploymentStrategy DeploymentStrategy { get; }
Property Value
Remarks
Stability: Deprecated
DeployTo
(deprecated) The environments to deploy to.
public virtual IEnvironment[] DeployTo { get; }
Property Value
Remarks
Stability: Deprecated
Description
(deprecated) The description of the configuration.
public virtual string Description { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Extensible
protected virtual ExtensibleBase Extensible { get; set; }
Property Value
Remarks
Stability: Deprecated
HostedConfigurationVersionArn
(deprecated) The Amazon Resource Name (ARN) of the hosted configuration version.
public virtual string HostedConfigurationVersionArn { get; }
Property Value
System.String
Remarks
Stability: Deprecated
LatestVersionNumber
(deprecated) The latest version number of the hosted configuration.
public virtual Nullable<double> LatestVersionNumber { get; }
Property Value
System.Nullable<System.Double>
Remarks
Stability: Deprecated
Name
(deprecated) The name of the configuration.
public virtual string Name { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Type
(deprecated) The configuration type.
public virtual Nullable<ConfigurationType> Type { get; }
Property Value
System.Nullable<ConfigurationType>
Remarks
Stability: Deprecated
Validators
(deprecated) The validators for the configuration.
public virtual IValidator[] Validators { get; }
Property Value
Remarks
Stability: Deprecated
VersionLabel
(deprecated) The version label of the hosted configuration.
public virtual string VersionLabel { get; }
Property Value
System.String
Remarks
Stability: Deprecated
VersionNumber
(deprecated) The version number of the hosted configuration.
public virtual string VersionNumber { get; }
Property Value
System.String
Remarks
Stability: Deprecated
Methods
AddExistingEnvironmentsToApplication()
protected virtual void AddExistingEnvironmentsToApplication()
Remarks
Stability: Deprecated
AddExtension(IExtension)
(deprecated) Adds an extension association to the configuration profile.
public virtual void AddExtension(IExtension extension)
Parameters
- extension IExtension
The extension to create an association for.
Remarks
Stability: Deprecated
Deploy(IEnvironment)
(deprecated) Deploys the configuration to the specified environment.
public virtual void Deploy(IEnvironment environment)
Parameters
- environment IEnvironment
The environment to deploy the configuration to.
Remarks
Stability: Deprecated
DeployConfigToEnvironments()
protected virtual void DeployConfigToEnvironments()
Remarks
Stability: Deprecated
On(ActionPoint, IEventDestination, IExtensionOptions)
(deprecated) Adds an extension defined by the action point and event destination and also creates an extension association to the configuration profile.
public virtual void On(ActionPoint actionPoint, IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- actionPoint ActionPoint
The action point which triggers the event.
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentBaking(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the configuration profile.
public virtual void OnDeploymentBaking(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentComplete(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the configuration profile.
public virtual void OnDeploymentComplete(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentRolledBack(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the configuration profile.
public virtual void OnDeploymentRolledBack(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentStart(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the configuration profile.
public virtual void OnDeploymentStart(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
OnDeploymentStep(IEventDestination, IExtensionOptions)
(deprecated) Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the configuration profile.
public virtual void OnDeploymentStep(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
PreCreateHostedConfigurationVersion(IEventDestination, IExtensionOptions)
(deprecated) Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the configuration profile.
public virtual void PreCreateHostedConfigurationVersion(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated
PreStartDeployment(IEventDestination, IExtensionOptions)
(deprecated) Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the configuration profile.
public virtual void PreStartDeployment(IEventDestination eventDestination, IExtensionOptions options = null)
Parameters
- eventDestination IEventDestination
The event that occurs during the extension.
- options IExtensionOptions
Options for the extension.
Remarks
Stability: Deprecated