Documentation ¶
Overview ¶
This module is deprecated. All constructs are now available under aws-cdk-lib/aws-appconfig
Index ¶
- func Application_AddAgentToEcs(taskDef awsecs.TaskDefinition)
- func Application_GetLambdaLayerVersionArn(region *string, platform Platform) *string
- func Application_IsConstruct(x interface{}) *bool
- func Application_IsOwnedResource(construct constructs.IConstruct) *bool
- func Application_IsResource(construct constructs.IConstruct) *bool
- func DeploymentStrategy_IsConstruct(x interface{}) *bool
- func DeploymentStrategy_IsOwnedResource(construct constructs.IConstruct) *bool
- func DeploymentStrategy_IsResource(construct constructs.IConstruct) *bool
- func Environment_IsConstruct(x interface{}) *bool
- func Environment_IsOwnedResource(construct constructs.IConstruct) *bool
- func Environment_IsResource(construct constructs.IConstruct) *bool
- func Extension_IsConstruct(x interface{}) *bool
- func Extension_IsOwnedResource(construct constructs.IConstruct) *bool
- func Extension_IsResource(construct constructs.IConstruct) *bool
- func HostedConfiguration_IsConstruct(x interface{}) *bool
- func NewAction_Override(a Action, props *ActionProps)
- func NewApplication_Override(a Application, scope constructs.Construct, id *string, props *ApplicationProps)
- func NewConfigurationContent_Override(c ConfigurationContent)
- func NewConfigurationSource_Override(c ConfigurationSource)
- func NewDeploymentStrategyId_Override(d DeploymentStrategyId)
- func NewDeploymentStrategy_Override(d DeploymentStrategy, scope constructs.Construct, id *string, ...)
- func NewEnvironment_Override(e Environment, scope constructs.Construct, id *string, props *EnvironmentProps)
- func NewEventBridgeDestination_Override(e EventBridgeDestination, bus awsevents.IEventBus)
- func NewExtensibleBase_Override(e ExtensibleBase, scope constructs.Construct, resourceArn *string, ...)
- func NewExtension_Override(e Extension, scope constructs.Construct, id *string, props *ExtensionProps)
- func NewHostedConfiguration_Override(h HostedConfiguration, scope constructs.Construct, id *string, ...)
- func NewJsonSchemaValidator_Override(j JsonSchemaValidator)
- func NewLambdaDestination_Override(l LambdaDestination, func_ awslambda.IFunction)
- func NewLambdaValidator_Override(l LambdaValidator)
- func NewMonitor_Override(m Monitor)
- func NewRolloutStrategy_Override(r RolloutStrategy)
- func NewSnsDestination_Override(s SnsDestination, topic awssns.ITopic)
- func NewSourcedConfiguration_Override(s SourcedConfiguration, scope constructs.Construct, id *string, ...)
- func NewSqsDestination_Override(s SqsDestination, queue awssqs.IQueue)
- func SourcedConfiguration_IsConstruct(x interface{}) *bool
- type Action
- type ActionPoint
- type ActionProps
- type Application
- type ApplicationProps
- type ConfigurationContent
- func ConfigurationContent_FromFile(inputPath *string, contentType *string) ConfigurationContent
- func ConfigurationContent_FromInline(content *string, contentType *string) ConfigurationContent
- func ConfigurationContent_FromInlineJson(content *string, contentType *string) ConfigurationContent
- func ConfigurationContent_FromInlineText(content *string) ConfigurationContent
- func ConfigurationContent_FromInlineYaml(content *string) ConfigurationContent
- type ConfigurationOptions
- type ConfigurationProps
- type ConfigurationSource
- func ConfigurationSource_FromBucket(bucket awss3.IBucket, objectKey *string, key awskms.IKey) ConfigurationSource
- func ConfigurationSource_FromCfnDocument(document awsssm.CfnDocument) ConfigurationSource
- func ConfigurationSource_FromParameter(parameter awsssm.IParameter, key awskms.IKey) ConfigurationSource
- func ConfigurationSource_FromPipeline(pipeline awscodepipeline.IPipeline) ConfigurationSource
- func ConfigurationSource_FromSecret(secret awssecretsmanager.ISecret) ConfigurationSource
- type ConfigurationSourceType
- type ConfigurationType
- type DeploymentStrategy
- type DeploymentStrategyId
- func DeploymentStrategyId_ALL_AT_ONCE() DeploymentStrategyId
- func DeploymentStrategyId_CANARY_10_PERCENT_20_MINUTES() DeploymentStrategyId
- func DeploymentStrategyId_FromString(deploymentStrategyId *string) DeploymentStrategyId
- func DeploymentStrategyId_LINEAR_20_PERCENT_EVERY_6_MINUTES() DeploymentStrategyId
- func DeploymentStrategyId_LINEAR_50_PERCENT_EVERY_30_SECONDS() DeploymentStrategyId
- type DeploymentStrategyProps
- type Environment
- type EnvironmentAttributes
- type EnvironmentOptions
- type EnvironmentProps
- type EventBridgeDestination
- type ExtensibleBase
- type Extension
- type ExtensionAttributes
- type ExtensionOptions
- type ExtensionProps
- type GrowthType
- type HostedConfiguration
- type HostedConfigurationOptions
- type HostedConfigurationProps
- type IApplication
- type IConfiguration
- type IDeploymentStrategy
- type IEnvironment
- type IEventDestination
- type IExtensible
- type IExtension
- type IValidator
- type JsonSchemaValidator
- type LambdaDestination
- type LambdaValidator
- type Monitor
- type MonitorType
- type Parameter
- type Platform
- type RolloutStrategy
- func RolloutStrategy_ALL_AT_ONCE() RolloutStrategy
- func RolloutStrategy_CANARY_10_PERCENT_20_MINUTES() RolloutStrategy
- func RolloutStrategy_Exponential(props *RolloutStrategyProps) RolloutStrategy
- func RolloutStrategy_LINEAR_20_PERCENT_EVERY_6_MINUTES() RolloutStrategy
- func RolloutStrategy_LINEAR_50_PERCENT_EVERY_30_SECONDS() RolloutStrategy
- func RolloutStrategy_Linear(props *RolloutStrategyProps) RolloutStrategy
- type RolloutStrategyProps
- type SnsDestination
- type SourceType
- type SourcedConfiguration
- type SourcedConfigurationOptions
- type SourcedConfigurationProps
- type SqsDestination
- type ValidatorType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Application_AddAgentToEcs ¶
func Application_AddAgentToEcs(taskDef awsecs.TaskDefinition)
Adds the AWS AppConfig Agent as a container to the provided ECS task definition. Deprecated.
func Application_GetLambdaLayerVersionArn ¶
Retrieves the Lambda layer version Amazon Resource Name (ARN) for the AWS AppConfig Lambda extension.
Returns: Lambda layer version ARN. Deprecated.
func Application_IsConstruct ¶
func Application_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated.
func Application_IsOwnedResource ¶
func Application_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Deprecated.
func Application_IsResource ¶
func Application_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Deprecated.
func DeploymentStrategy_IsConstruct ¶
func DeploymentStrategy_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated.
func DeploymentStrategy_IsOwnedResource ¶
func DeploymentStrategy_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Deprecated.
func DeploymentStrategy_IsResource ¶
func DeploymentStrategy_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Deprecated.
func Environment_IsConstruct ¶
func Environment_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated.
func Environment_IsOwnedResource ¶
func Environment_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Deprecated.
func Environment_IsResource ¶
func Environment_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Deprecated.
func Extension_IsConstruct ¶
func Extension_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated.
func Extension_IsOwnedResource ¶
func Extension_IsOwnedResource(construct constructs.IConstruct) *bool
Returns true if the construct was created by CDK, and false otherwise. Deprecated.
func Extension_IsResource ¶
func Extension_IsResource(construct constructs.IConstruct) *bool
Check whether the given construct is a Resource. Deprecated.
func HostedConfiguration_IsConstruct ¶
func HostedConfiguration_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated.
func NewApplication_Override ¶
func NewApplication_Override(a Application, scope constructs.Construct, id *string, props *ApplicationProps)
Deprecated.
func NewConfigurationContent_Override ¶
func NewConfigurationContent_Override(c ConfigurationContent)
Deprecated.
func NewConfigurationSource_Override ¶
func NewConfigurationSource_Override(c ConfigurationSource)
Deprecated.
func NewDeploymentStrategyId_Override ¶
func NewDeploymentStrategyId_Override(d DeploymentStrategyId)
Deprecated.
func NewDeploymentStrategy_Override ¶
func NewDeploymentStrategy_Override(d DeploymentStrategy, scope constructs.Construct, id *string, props *DeploymentStrategyProps)
Deprecated.
func NewEnvironment_Override ¶
func NewEnvironment_Override(e Environment, scope constructs.Construct, id *string, props *EnvironmentProps)
Deprecated.
func NewEventBridgeDestination_Override ¶
func NewEventBridgeDestination_Override(e EventBridgeDestination, bus awsevents.IEventBus)
Deprecated.
func NewExtensibleBase_Override ¶
func NewExtensibleBase_Override(e ExtensibleBase, scope constructs.Construct, resourceArn *string, resourceName *string)
Deprecated.
func NewExtension_Override ¶
func NewExtension_Override(e Extension, scope constructs.Construct, id *string, props *ExtensionProps)
Deprecated.
func NewHostedConfiguration_Override ¶
func NewHostedConfiguration_Override(h HostedConfiguration, scope constructs.Construct, id *string, props *HostedConfigurationProps)
Deprecated.
func NewJsonSchemaValidator_Override ¶
func NewJsonSchemaValidator_Override(j JsonSchemaValidator)
Deprecated.
func NewLambdaDestination_Override ¶
func NewLambdaDestination_Override(l LambdaDestination, func_ awslambda.IFunction)
Deprecated.
func NewSnsDestination_Override ¶
func NewSnsDestination_Override(s SnsDestination, topic awssns.ITopic)
Deprecated.
func NewSourcedConfiguration_Override ¶
func NewSourcedConfiguration_Override(s SourcedConfiguration, scope constructs.Construct, id *string, props *SourcedConfigurationProps)
Deprecated.
func NewSqsDestination_Override ¶
func NewSqsDestination_Override(s SqsDestination, queue awssqs.IQueue)
Deprecated.
func SourcedConfiguration_IsConstruct ¶
func SourcedConfiguration_IsConstruct(x interface{}) *bool
Checks if `x` is a construct.
Use this method instead of `instanceof` to properly detect `Construct` instances, even when the construct library is symlinked.
Explanation: in JavaScript, multiple copies of the `constructs` library on disk are seen as independent, completely different libraries. As a consequence, the class `Construct` in each copy of the `constructs` library is seen as a different class, and an instance of one class will not test as `instanceof` the other class. `npm install` will not create installations like this, but users may manually symlink construct libraries together or use a monorepo tool: in those cases, multiple copies of the `constructs` library can be accidentally installed, and `instanceof` will behave unpredictably. It is safest to avoid using `instanceof`, and using this type-testing method instead.
Returns: true if `x` is an object created from a class which extends `Construct`. Deprecated.
Types ¶
type Action ¶
type Action interface { // The action points that will trigger the extension action. // Deprecated. ActionPoints() *[]ActionPoint // The description for the action. // Deprecated. Description() *string // The event destination for the action. // Deprecated. EventDestination() IEventDestination // The execution role for the action. // Deprecated. ExecutionRole() awsiam.IRole // The flag that specifies whether to create the execution role. // Deprecated. InvokeWithoutExecutionRole() *bool // The name for the action. // Deprecated. Name() *string }
Defines an action for an extension.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var eventDestination iEventDestination var role role action := appconfig_alpha.NewAction(&ActionProps{ ActionPoints: []actionPoint{ appconfig_alpha.*actionPoint_PRE_CREATE_HOSTED_CONFIGURATION_VERSION, }, EventDestination: eventDestination, // the properties below are optional Description: jsii.String("description"), ExecutionRole: role, InvokeWithoutExecutionRole: jsii.Boolean(false), Name: jsii.String("name"), })
Deprecated.
type ActionPoint ¶
type ActionPoint string
Defines Extension action points. See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions-about.html#working-with-appconfig-extensions-how-it-works-step-2
Deprecated.
const ( // Deprecated. ActionPoint_PRE_CREATE_HOSTED_CONFIGURATION_VERSION ActionPoint = "PRE_CREATE_HOSTED_CONFIGURATION_VERSION" // Deprecated. ActionPoint_PRE_START_DEPLOYMENT ActionPoint = "PRE_START_DEPLOYMENT" // Deprecated. ActionPoint_ON_DEPLOYMENT_START ActionPoint = "ON_DEPLOYMENT_START" // Deprecated. ActionPoint_ON_DEPLOYMENT_STEP ActionPoint = "ON_DEPLOYMENT_STEP" // Deprecated. ActionPoint_ON_DEPLOYMENT_BAKING ActionPoint = "ON_DEPLOYMENT_BAKING" // Deprecated. ActionPoint_ON_DEPLOYMENT_COMPLETE ActionPoint = "ON_DEPLOYMENT_COMPLETE" // Deprecated. ActionPoint_ON_DEPLOYMENT_ROLLED_BACK ActionPoint = "ON_DEPLOYMENT_ROLLED_BACK" )
type ActionProps ¶
type ActionProps struct { // The action points that will trigger the extension action. // Deprecated. ActionPoints *[]ActionPoint `field:"required" json:"actionPoints" yaml:"actionPoints"` // The event destination for the action. // Deprecated. EventDestination IEventDestination `field:"required" json:"eventDestination" yaml:"eventDestination"` // The description for the action. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The execution role for the action. // Default: - A role is generated. // // Deprecated. ExecutionRole awsiam.IRole `field:"optional" json:"executionRole" yaml:"executionRole"` // The flag that specifies whether or not to create the execution role. // // If set to true, then the role will not be auto-generated under the assumption // there is already the corresponding resource-based policy attached to the event // destination. If false, the execution role will be generated if not provided. // Default: false. // // Deprecated. InvokeWithoutExecutionRole *bool `field:"optional" json:"invokeWithoutExecutionRole" yaml:"invokeWithoutExecutionRole"` // The name for the action. // Default: - A name is generated. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` }
Properties for the Action construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var eventDestination iEventDestination var role role actionProps := &ActionProps{ ActionPoints: []actionPoint{ appconfig_alpha.*actionPoint_PRE_CREATE_HOSTED_CONFIGURATION_VERSION, }, EventDestination: eventDestination, // the properties below are optional Description: jsii.String("description"), ExecutionRole: role, InvokeWithoutExecutionRole: jsii.Boolean(false), Name: jsii.String("name"), }
Deprecated.
type Application ¶
type Application interface { awscdk.Resource IApplication IExtensible // The Amazon Resource Name (ARN) of the application. // Deprecated. ApplicationArn() *string // The ID of the application. // Deprecated. ApplicationId() *string // The description of the application. // Deprecated. Description() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Deprecated. Env() *awscdk.ResourceEnvironment // Returns the list of associated environments. // Deprecated. Environments() *[]IEnvironment // Deprecated. Extensible() ExtensibleBase // Deprecated. SetExtensible(val ExtensibleBase) // The name of the application. // Deprecated. Name() *string // The tree node. // Deprecated. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Deprecated. PhysicalName() *string // The stack in which this resource is defined. // Deprecated. Stack() awscdk.Stack // Adds an environment. // Deprecated. AddEnvironment(id *string, options *EnvironmentOptions) IEnvironment // Adds an existing environment. // Deprecated. AddExistingEnvironment(environment IEnvironment) // Adds an extension association to the application. // Deprecated. AddExtension(extension IExtension) // Adds a hosted configuration. // Deprecated. AddHostedConfiguration(id *string, options *HostedConfigurationOptions) HostedConfiguration // Adds a sourced configuration. // Deprecated. AddSourcedConfiguration(id *string, options *SourcedConfigurationOptions) SourcedConfiguration // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Deprecated. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Deprecated. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Deprecated. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Deprecated. GetResourceNameAttribute(nameAttr *string) *string // Adds an extension defined by the action point and event destination and also creates an extension association to an application. // Deprecated. On(actionPoint ActionPoint, eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentBaking(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentComplete(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentRolledBack(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentStart(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentStep(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application. // Deprecated. PreCreateHostedConfigurationVersion(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application. // Deprecated. PreStartDeployment(eventDestination IEventDestination, options *ExtensionOptions) // Returns a string representation of this construct. // Deprecated. ToString() *string }
An AWS AppConfig application.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" application := appconfig_alpha.NewApplication(this, jsii.String("MyApplication"), &ApplicationProps{ ApplicationName: jsii.String("applicationName"), Description: jsii.String("description"), })
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-application.html
Deprecated.
func NewApplication ¶
func NewApplication(scope constructs.Construct, id *string, props *ApplicationProps) Application
Deprecated.
type ApplicationProps ¶
type ApplicationProps struct { // The name of the application. // Default: - A name is generated. // // Deprecated. ApplicationName *string `field:"optional" json:"applicationName" yaml:"applicationName"` // The description for the application. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` }
Properties for the Application construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" applicationProps := &ApplicationProps{ ApplicationName: jsii.String("applicationName"), Description: jsii.String("description"), }
Deprecated.
type ConfigurationContent ¶
type ConfigurationContent interface { // The configuration content. // Deprecated. Content() *string // The configuration content type. // Deprecated. ContentType() *string }
Defines the hosted configuration content.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" configurationContent := appconfig_alpha.ConfigurationContent_FromFile(jsii.String("inputPath"), jsii.String("contentType"))
Deprecated.
func ConfigurationContent_FromFile ¶
func ConfigurationContent_FromFile(inputPath *string, contentType *string) ConfigurationContent
Defines the hosted configuration content from a file. Deprecated.
func ConfigurationContent_FromInline ¶
func ConfigurationContent_FromInline(content *string, contentType *string) ConfigurationContent
Defines the hosted configuration content from inline code. Deprecated.
func ConfigurationContent_FromInlineJson ¶
func ConfigurationContent_FromInlineJson(content *string, contentType *string) ConfigurationContent
Defines the hosted configuration content as JSON from inline code. Deprecated.
func ConfigurationContent_FromInlineText ¶
func ConfigurationContent_FromInlineText(content *string) ConfigurationContent
Defines the hosted configuration content as text from inline code. Deprecated.
func ConfigurationContent_FromInlineYaml ¶
func ConfigurationContent_FromInlineYaml(content *string) ConfigurationContent
Defines the hosted configuration content as YAML from inline code. Deprecated.
type ConfigurationOptions ¶
type ConfigurationOptions struct { // The deployment key of the configuration. // Default: - None. // // Deprecated. DeploymentKey awskms.IKey `field:"optional" json:"deploymentKey" yaml:"deploymentKey"` // The deployment strategy for the configuration. // Default: - A deployment strategy with the rollout strategy set to // RolloutStrategy.CANARY_10_PERCENT_20_MINUTES // // Deprecated. DeploymentStrategy IDeploymentStrategy `field:"optional" json:"deploymentStrategy" yaml:"deploymentStrategy"` // The list of environments to deploy the configuration to. // // If this parameter is not specified, then there will be no // deployment. // Default: - None. // // Deprecated. DeployTo *[]IEnvironment `field:"optional" json:"deployTo" yaml:"deployTo"` // The description of the configuration. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the configuration. // Default: - A name is generated. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` // The type of configuration. // Default: ConfigurationType.FREEFORM // // Deprecated. Type ConfigurationType `field:"optional" json:"type" yaml:"type"` // The validators for the configuration. // Default: - No validators. // // Deprecated. Validators *[]IValidator `field:"optional" json:"validators" yaml:"validators"` }
Options for the Configuration construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var deploymentStrategy deploymentStrategy var environment environment var key key var validator iValidator configurationOptions := &ConfigurationOptions{ DeploymentKey: key, DeploymentStrategy: deploymentStrategy, DeployTo: []iEnvironment{ environment, }, Description: jsii.String("description"), Name: jsii.String("name"), Type: appconfig_alpha.ConfigurationType_FREEFORM, Validators: []*iValidator{ validator, }, }
Deprecated.
type ConfigurationProps ¶
type ConfigurationProps struct { // The deployment key of the configuration. // Default: - None. // // Deprecated. DeploymentKey awskms.IKey `field:"optional" json:"deploymentKey" yaml:"deploymentKey"` // The deployment strategy for the configuration. // Default: - A deployment strategy with the rollout strategy set to // RolloutStrategy.CANARY_10_PERCENT_20_MINUTES // // Deprecated. DeploymentStrategy IDeploymentStrategy `field:"optional" json:"deploymentStrategy" yaml:"deploymentStrategy"` // The list of environments to deploy the configuration to. // // If this parameter is not specified, then there will be no // deployment. // Default: - None. // // Deprecated. DeployTo *[]IEnvironment `field:"optional" json:"deployTo" yaml:"deployTo"` // The description of the configuration. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the configuration. // Default: - A name is generated. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` // The type of configuration. // Default: ConfigurationType.FREEFORM // // Deprecated. Type ConfigurationType `field:"optional" json:"type" yaml:"type"` // The validators for the configuration. // Default: - No validators. // // Deprecated. Validators *[]IValidator `field:"optional" json:"validators" yaml:"validators"` // The application associated with the configuration. // Deprecated. Application IApplication `field:"required" json:"application" yaml:"application"` }
Properties for the Configuration construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var application application var deploymentStrategy deploymentStrategy var environment environment var key key var validator iValidator configurationProps := &ConfigurationProps{ Application: application, // the properties below are optional DeploymentKey: key, DeploymentStrategy: deploymentStrategy, DeployTo: []iEnvironment{ environment, }, Description: jsii.String("description"), Name: jsii.String("name"), Type: appconfig_alpha.ConfigurationType_FREEFORM, Validators: []*iValidator{ validator, }, }
Deprecated.
type ConfigurationSource ¶
type ConfigurationSource interface { // The KMS Key that encrypts the configuration. // Deprecated. Key() awskms.IKey // The URI of the configuration source. // Deprecated. LocationUri() *string // The type of the configuration source. // Deprecated. Type() ConfigurationSourceType }
Defines the integrated configuration sources.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" import "github.com/aws/aws-cdk-go/awscdk" var bucket bucket var key key configurationSource := appconfig_alpha.ConfigurationSource_FromBucket(bucket, jsii.String("objectKey"), key)
Deprecated.
func ConfigurationSource_FromBucket ¶
func ConfigurationSource_FromBucket(bucket awss3.IBucket, objectKey *string, key awskms.IKey) ConfigurationSource
Defines configuration content from an Amazon S3 bucket. Deprecated.
func ConfigurationSource_FromCfnDocument ¶
func ConfigurationSource_FromCfnDocument(document awsssm.CfnDocument) ConfigurationSource
Defines configuration content from a Systems Manager (SSM) document. Deprecated.
func ConfigurationSource_FromParameter ¶
func ConfigurationSource_FromParameter(parameter awsssm.IParameter, key awskms.IKey) ConfigurationSource
Defines configuration content from a Systems Manager (SSM) Parameter Store parameter. Deprecated.
func ConfigurationSource_FromPipeline ¶
func ConfigurationSource_FromPipeline(pipeline awscodepipeline.IPipeline) ConfigurationSource
Defines configuration content from AWS CodePipeline. Deprecated.
func ConfigurationSource_FromSecret ¶
func ConfigurationSource_FromSecret(secret awssecretsmanager.ISecret) ConfigurationSource
Defines configuration content from an AWS Secrets Manager secret. Deprecated.
type ConfigurationSourceType ¶
type ConfigurationSourceType string
The configuration source type. Deprecated.
const ( // Deprecated. ConfigurationSourceType_S3 ConfigurationSourceType = "S3" // Deprecated. ConfigurationSourceType_SECRETS_MANAGER ConfigurationSourceType = "SECRETS_MANAGER" // Deprecated. ConfigurationSourceType_SSM_PARAMETER ConfigurationSourceType = "SSM_PARAMETER" // Deprecated. ConfigurationSourceType_SSM_DOCUMENT ConfigurationSourceType = "SSM_DOCUMENT" // Deprecated. ConfigurationSourceType_CODE_PIPELINE ConfigurationSourceType = "CODE_PIPELINE" )
type ConfigurationType ¶
type ConfigurationType string
The configuration type. Deprecated.
const ( // Freeform configuration profile. // // Allows you to store your data in the AWS AppConfig // hosted configuration store or another Systems Manager capability or AWS service that integrates // with AWS AppConfig. // See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-free-form-configurations-creating.html // // Deprecated. ConfigurationType_FREEFORM ConfigurationType = "FREEFORM" // Feature flag configuration profile. // // This configuration stores its data // in the AWS AppConfig hosted configuration store and the URI is simply hosted. // Deprecated. ConfigurationType_FEATURE_FLAGS ConfigurationType = "FEATURE_FLAGS" )
type DeploymentStrategy ¶
type DeploymentStrategy interface { awscdk.Resource IDeploymentStrategy // The deployment duration in minutes of the deployment strategy. // Deprecated. DeploymentDurationInMinutes() *float64 // The Amazon Resource Name (ARN) of the deployment strategy. // Deprecated. DeploymentStrategyArn() *string // The ID of the deployment strategy. // Deprecated. DeploymentStrategyId() *string // The description of the deployment strategy. // Deprecated. Description() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Deprecated. Env() *awscdk.ResourceEnvironment // The final bake time in minutes of the deployment strategy. // Deprecated. FinalBakeTimeInMinutes() *float64 // The growth factor of the deployment strategy. // Deprecated. GrowthFactor() *float64 // The growth type of the deployment strategy. // Deprecated. GrowthType() GrowthType // The name of the deployment strategy. // Deprecated. Name() *string // The tree node. // Deprecated. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Deprecated. PhysicalName() *string // The stack in which this resource is defined. // Deprecated. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Deprecated. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Deprecated. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Deprecated. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Deprecated. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. // Deprecated. ToString() *string }
An AWS AppConfig deployment strategy.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var rolloutStrategy rolloutStrategy deploymentStrategy := appconfig_alpha.NewDeploymentStrategy(this, jsii.String("MyDeploymentStrategy"), &DeploymentStrategyProps{ RolloutStrategy: rolloutStrategy, // the properties below are optional DeploymentStrategyName: jsii.String("deploymentStrategyName"), Description: jsii.String("description"), })
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Deprecated.
func NewDeploymentStrategy ¶
func NewDeploymentStrategy(scope constructs.Construct, id *string, props *DeploymentStrategyProps) DeploymentStrategy
Deprecated.
type DeploymentStrategyId ¶
type DeploymentStrategyId interface { // The deployment strategy ID. // Deprecated. Id() *string }
Defines the deployment strategy ID's of AWS AppConfig deployment strategies.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" deploymentStrategyId := appconfig_alpha.DeploymentStrategyId_ALL_AT_ONCE()
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Deprecated.
func DeploymentStrategyId_ALL_AT_ONCE ¶
func DeploymentStrategyId_ALL_AT_ONCE() DeploymentStrategyId
func DeploymentStrategyId_CANARY_10_PERCENT_20_MINUTES ¶
func DeploymentStrategyId_CANARY_10_PERCENT_20_MINUTES() DeploymentStrategyId
func DeploymentStrategyId_FromString ¶
func DeploymentStrategyId_FromString(deploymentStrategyId *string) DeploymentStrategyId
Builds a deployment strategy ID from a string. Deprecated.
func DeploymentStrategyId_LINEAR_20_PERCENT_EVERY_6_MINUTES ¶
func DeploymentStrategyId_LINEAR_20_PERCENT_EVERY_6_MINUTES() DeploymentStrategyId
func DeploymentStrategyId_LINEAR_50_PERCENT_EVERY_30_SECONDS ¶
func DeploymentStrategyId_LINEAR_50_PERCENT_EVERY_30_SECONDS() DeploymentStrategyId
type DeploymentStrategyProps ¶
type DeploymentStrategyProps struct { // The rollout strategy for the deployment strategy. // // You can use predefined deployment // strategies, such as RolloutStrategy.ALL_AT_ONCE, RolloutStrategy.LINEAR_50_PERCENT_EVERY_30_SECONDS, // or RolloutStrategy.CANARY_10_PERCENT_20_MINUTES. // Deprecated. RolloutStrategy RolloutStrategy `field:"required" json:"rolloutStrategy" yaml:"rolloutStrategy"` // A name for the deployment strategy. // Default: - A name is generated. // // Deprecated. DeploymentStrategyName *string `field:"optional" json:"deploymentStrategyName" yaml:"deploymentStrategyName"` // A description of the deployment strategy. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` }
Properties for DeploymentStrategy.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var rolloutStrategy rolloutStrategy deploymentStrategyProps := &DeploymentStrategyProps{ RolloutStrategy: rolloutStrategy, // the properties below are optional DeploymentStrategyName: jsii.String("deploymentStrategyName"), Description: jsii.String("description"), }
Deprecated.
type Environment ¶
type Environment interface { awscdk.Resource IEnvironment IExtensible // The application associated with the environment. // Deprecated. Application() IApplication // The ID of the environment. // Deprecated. ApplicationId() *string // The description of the environment. // Deprecated. Description() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Deprecated. Env() *awscdk.ResourceEnvironment // The Amazon Resource Name (ARN) of the environment. // Deprecated. EnvironmentArn() *string // The ID of the environment. // Deprecated. EnvironmentId() *string // Deprecated. Extensible() ExtensibleBase // Deprecated. SetExtensible(val ExtensibleBase) // The monitors for the environment. // Deprecated. Monitors() *[]Monitor // The name of the environment. // Deprecated. Name() *string // The tree node. // Deprecated. Node() constructs.Node // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Deprecated. PhysicalName() *string // The stack in which this resource is defined. // Deprecated. Stack() awscdk.Stack // Adds an extension association to the environment. // Deprecated. AddExtension(extension IExtension) // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Deprecated. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Deprecated. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Deprecated. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Deprecated. GetResourceNameAttribute(nameAttr *string) *string // Adds an extension defined by the action point and event destination and also creates an extension association to the environment. // Deprecated. On(actionPoint ActionPoint, eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentBaking(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentComplete(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentRolledBack(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentStart(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentStep(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the environment. // Deprecated. PreCreateHostedConfigurationVersion(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment. // Deprecated. PreStartDeployment(eventDestination IEventDestination, options *ExtensionOptions) // Returns a string representation of this construct. // Deprecated. ToString() *string }
An AWS AppConfig environment.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var application application var monitor monitor environment := appconfig_alpha.NewEnvironment(this, jsii.String("MyEnvironment"), &EnvironmentProps{ Application: application, // the properties below are optional Description: jsii.String("description"), EnvironmentName: jsii.String("environmentName"), Monitors: []*monitor{ monitor, }, })
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-environment.html
Deprecated.
func NewEnvironment ¶
func NewEnvironment(scope constructs.Construct, id *string, props *EnvironmentProps) Environment
Deprecated.
type EnvironmentAttributes ¶
type EnvironmentAttributes struct { // The application associated with the environment. // Deprecated. Application IApplication `field:"required" json:"application" yaml:"application"` // The ID of the environment. // Deprecated. EnvironmentId *string `field:"required" json:"environmentId" yaml:"environmentId"` // The description of the environment. // Default: - None. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The monitors for the environment. // Default: - None. // // Deprecated. Monitors *[]Monitor `field:"optional" json:"monitors" yaml:"monitors"` // The name of the environment. // Default: - None. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` }
Attributes of an existing AWS AppConfig environment to import it.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var application application var monitor monitor environmentAttributes := &EnvironmentAttributes{ Application: application, EnvironmentId: jsii.String("environmentId"), // the properties below are optional Description: jsii.String("description"), Monitors: []*monitor{ monitor, }, Name: jsii.String("name"), }
Deprecated.
type EnvironmentOptions ¶
type EnvironmentOptions struct { // The description of the environment. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the environment. // Default: - A name is generated. // // Deprecated. EnvironmentName *string `field:"optional" json:"environmentName" yaml:"environmentName"` // The monitors for the environment. // Default: - No monitors. // // Deprecated. Monitors *[]Monitor `field:"optional" json:"monitors" yaml:"monitors"` }
Options for the Environment construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var monitor monitor environmentOptions := &EnvironmentOptions{ Description: jsii.String("description"), EnvironmentName: jsii.String("environmentName"), Monitors: []*monitor{ monitor, }, }
Deprecated.
type EnvironmentProps ¶
type EnvironmentProps struct { // The description of the environment. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the environment. // Default: - A name is generated. // // Deprecated. EnvironmentName *string `field:"optional" json:"environmentName" yaml:"environmentName"` // The monitors for the environment. // Default: - No monitors. // // Deprecated. Monitors *[]Monitor `field:"optional" json:"monitors" yaml:"monitors"` // The application to be associated with the environment. // Deprecated. Application IApplication `field:"required" json:"application" yaml:"application"` }
Properties for the Environment construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var application application var monitor monitor environmentProps := &EnvironmentProps{ Application: application, // the properties below are optional Description: jsii.String("description"), EnvironmentName: jsii.String("environmentName"), Monitors: []*monitor{ monitor, }, }
Deprecated.
type EventBridgeDestination ¶
type EventBridgeDestination interface { IEventDestination // The URI of the extension event destination. // Deprecated. ExtensionUri() *string // The type of the extension event destination. // Deprecated. Type() SourceType }
Use an Amazon EventBridge event bus as an event destination.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var eventBus eventBus eventBridgeDestination := appconfig_alpha.NewEventBridgeDestination(eventBus)
Deprecated.
func NewEventBridgeDestination ¶
func NewEventBridgeDestination(bus awsevents.IEventBus) EventBridgeDestination
Deprecated.
type ExtensibleBase ¶
type ExtensibleBase interface { IExtensible // Adds an extension association to the derived resource. // Deprecated. AddExtension(extension IExtension) // Adds an extension defined by the action point and event destination and also creates an extension association to the derived resource. // Deprecated. On(actionPoint ActionPoint, eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentBaking(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentComplete(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentRolledBack(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentStart(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentStep(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. PreCreateHostedConfigurationVersion(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. PreStartDeployment(eventDestination IEventDestination, options *ExtensionOptions) }
This class is meant to be used by AWS AppConfig resources (application, configuration profile, environment) directly.
There is currently no use for this class outside of the AWS AppConfig construct implementation. It is intended to be used with the resources since there is currently no way to inherit from two classes (at least within JSII constraints).
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" extensibleBase := appconfig_alpha.NewExtensibleBase(this, jsii.String("resourceArn"), jsii.String("resourceName"))
Deprecated.
func NewExtensibleBase ¶
func NewExtensibleBase(scope constructs.Construct, resourceArn *string, resourceName *string) ExtensibleBase
Deprecated.
type Extension ¶
type Extension interface { awscdk.Resource IExtension // The actions for the extension. // Deprecated. Actions() *[]Action // The description of the extension. // Deprecated. Description() *string // The environment this resource belongs to. // // For resources that are created and managed by the CDK // (generally, those created by creating new class instances like Role, Bucket, etc.), // this is always the same as the environment of the stack they belong to; // however, for imported resources // (those obtained from static methods like fromRoleArn, fromBucketName, etc.), // that might be different than the stack they were imported into. // Deprecated. Env() *awscdk.ResourceEnvironment // The Amazon Resource Name (ARN) of the extension. // Deprecated. ExtensionArn() *string // The ID of the extension. // Deprecated. ExtensionId() *string // The version number of the extension. // Deprecated. ExtensionVersionNumber() *float64 // The latest version number of the extension. // Deprecated. LatestVersionNumber() *float64 // The name of the extension. // Deprecated. Name() *string // The tree node. // Deprecated. Node() constructs.Node // The parameters of the extension. // Deprecated. Parameters() *[]Parameter // Returns a string-encoded token that resolves to the physical name that should be passed to the CloudFormation resource. // // This value will resolve to one of the following: // - a concrete value (e.g. `"my-awesome-bucket"`) // - `undefined`, when a name should be generated by CloudFormation // - a concrete name generated automatically during synthesis, in // cross-environment scenarios. // Deprecated. PhysicalName() *string // The stack in which this resource is defined. // Deprecated. Stack() awscdk.Stack // Apply the given removal policy to this resource. // // The Removal Policy controls what happens to this resource when it stops // being managed by CloudFormation, either because you've removed it from the // CDK application or because you've made a change that requires the resource // to be replaced. // // The resource can be deleted (`RemovalPolicy.DESTROY`), or left in your AWS // account for data recovery and cleanup later (`RemovalPolicy.RETAIN`). // Deprecated. ApplyRemovalPolicy(policy awscdk.RemovalPolicy) // Deprecated. GeneratePhysicalName() *string // Returns an environment-sensitive token that should be used for the resource's "ARN" attribute (e.g. `bucket.bucketArn`). // // Normally, this token will resolve to `arnAttr`, but if the resource is // referenced across environments, `arnComponents` will be used to synthesize // a concrete ARN with the resource's physical name. Make sure to reference // `this.physicalName` in `arnComponents`. // Deprecated. GetResourceArnAttribute(arnAttr *string, arnComponents *awscdk.ArnComponents) *string // Returns an environment-sensitive token that should be used for the resource's "name" attribute (e.g. `bucket.bucketName`). // // Normally, this token will resolve to `nameAttr`, but if the resource is // referenced across environments, it will be resolved to `this.physicalName`, // which will be a concrete name. // Deprecated. GetResourceNameAttribute(nameAttr *string) *string // Returns a string representation of this construct. // Deprecated. ToString() *string }
An AWS AppConfig extension.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var action action var parameter parameter extension := appconfig_alpha.NewExtension(this, jsii.String("MyExtension"), &ExtensionProps{ Actions: []*action{ action, }, // the properties below are optional Description: jsii.String("description"), ExtensionName: jsii.String("extensionName"), LatestVersionNumber: jsii.Number(123), Parameters: []*parameter{ parameter, }, })
See: https://docs.aws.amazon.com/appconfig/latest/userguide/working-with-appconfig-extensions.html
Deprecated.
func NewExtension ¶
func NewExtension(scope constructs.Construct, id *string, props *ExtensionProps) Extension
Deprecated.
type ExtensionAttributes ¶
type ExtensionAttributes struct { // The ID of the extension. // Deprecated. ExtensionId *string `field:"required" json:"extensionId" yaml:"extensionId"` // The version number of the extension. // Deprecated. ExtensionVersionNumber *float64 `field:"required" json:"extensionVersionNumber" yaml:"extensionVersionNumber"` // The actions of the extension. // Default: - None. // // Deprecated. Actions *[]Action `field:"optional" json:"actions" yaml:"actions"` // The description of the extension. // Default: - None. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The Amazon Resource Name (ARN) of the extension. // Default: - The extension ARN is generated. // // Deprecated. ExtensionArn *string `field:"optional" json:"extensionArn" yaml:"extensionArn"` // The name of the extension. // Default: - None. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` }
Attributes of an existing AWS AppConfig extension to import.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var action action extensionAttributes := &ExtensionAttributes{ ExtensionId: jsii.String("extensionId"), ExtensionVersionNumber: jsii.Number(123), // the properties below are optional Actions: []*action{ action, }, Description: jsii.String("description"), ExtensionArn: jsii.String("extensionArn"), Name: jsii.String("name"), }
Deprecated.
type ExtensionOptions ¶
type ExtensionOptions struct { // A description of the extension. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the extension. // Default: - A name is generated. // // Deprecated. ExtensionName *string `field:"optional" json:"extensionName" yaml:"extensionName"` // The latest version number of the extension. // // When you create a new version, // specify the most recent current version number. For example, you create version 3, // enter 2 for this field. // Default: - None. // // Deprecated. LatestVersionNumber *float64 `field:"optional" json:"latestVersionNumber" yaml:"latestVersionNumber"` // The parameters accepted for the extension. // Default: - None. // // Deprecated. Parameters *[]Parameter `field:"optional" json:"parameters" yaml:"parameters"` }
Options for the Extension construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var parameter parameter extensionOptions := &ExtensionOptions{ Description: jsii.String("description"), ExtensionName: jsii.String("extensionName"), LatestVersionNumber: jsii.Number(123), Parameters: []*parameter{ parameter, }, }
Deprecated.
type ExtensionProps ¶
type ExtensionProps struct { // A description of the extension. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the extension. // Default: - A name is generated. // // Deprecated. ExtensionName *string `field:"optional" json:"extensionName" yaml:"extensionName"` // The latest version number of the extension. // // When you create a new version, // specify the most recent current version number. For example, you create version 3, // enter 2 for this field. // Default: - None. // // Deprecated. LatestVersionNumber *float64 `field:"optional" json:"latestVersionNumber" yaml:"latestVersionNumber"` // The parameters accepted for the extension. // Default: - None. // // Deprecated. Parameters *[]Parameter `field:"optional" json:"parameters" yaml:"parameters"` // The actions for the extension. // Deprecated. Actions *[]Action `field:"required" json:"actions" yaml:"actions"` }
Properties for the Extension construct.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" var action action var parameter parameter extensionProps := &ExtensionProps{ Actions: []*action{ action, }, // the properties below are optional Description: jsii.String("description"), ExtensionName: jsii.String("extensionName"), LatestVersionNumber: jsii.Number(123), Parameters: []*parameter{ parameter, }, }
Deprecated.
type GrowthType ¶
type GrowthType string
Defines the growth type of the deployment strategy. Deprecated.
const ( // AWS AppConfig will process the deployment by increments of the growth factor evenly distributed over the deployment. // Deprecated. GrowthType_LINEAR GrowthType = "LINEAR" // AWS AppConfig will process the deployment exponentially using the following formula: `G*(2^N)`. // // In this formula, `G` is the step percentage specified by the user and `N` // is the number of steps until the configuration is deployed to all targets. // Deprecated. GrowthType_EXPONENTIAL GrowthType = "EXPONENTIAL" )
type HostedConfiguration ¶
type HostedConfiguration interface { constructs.Construct IConfiguration IExtensible // The application associated with the configuration. // Deprecated. Application() IApplication // Deprecated. ApplicationId() *string // Deprecated. SetApplicationId(val *string) // The Amazon Resource Name (ARN) of the configuration profile. // Deprecated. ConfigurationProfileArn() *string // The ID of the configuration profile. // Deprecated. ConfigurationProfileId() *string // The content of the hosted configuration. // Deprecated. Content() *string // The content type of the hosted configuration. // Deprecated. ContentType() *string // The deployment key for the configuration. // Deprecated. DeploymentKey() awskms.IKey // The deployment strategy for the configuration. // Deprecated. DeploymentStrategy() IDeploymentStrategy // The environments to deploy to. // Deprecated. DeployTo() *[]IEnvironment // The description of the configuration. // Deprecated. Description() *string // Deprecated. Extensible() ExtensibleBase // Deprecated. SetExtensible(val ExtensibleBase) // The Amazon Resource Name (ARN) of the hosted configuration version. // Deprecated. HostedConfigurationVersionArn() *string // The latest version number of the hosted configuration. // Deprecated. LatestVersionNumber() *float64 // The name of the configuration. // Deprecated. Name() *string // The tree node. // Deprecated. Node() constructs.Node // The configuration type. // Deprecated. Type() ConfigurationType // The validators for the configuration. // Deprecated. Validators() *[]IValidator // The version label of the hosted configuration. // Deprecated. VersionLabel() *string // The version number of the hosted configuration. // Deprecated. VersionNumber() *string // Deprecated. AddExistingEnvironmentsToApplication() // Adds an extension association to the configuration profile. // Deprecated. AddExtension(extension IExtension) // Deploys the configuration to the specified environment. // Deprecated: Use `deployTo` as a property instead. We do not recommend // creating resources in multiple stacks. If you want to do this still, // please take a look into https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appconfig.CfnDeployment.html. Deploy(environment IEnvironment) // Deprecated. DeployConfigToEnvironments() // Adds an extension defined by the action point and event destination and also creates an extension association to the configuration profile. // Deprecated. On(actionPoint ActionPoint, eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentBaking(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentComplete(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentRolledBack(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentStart(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentStep(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. PreCreateHostedConfigurationVersion(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. PreStartDeployment(eventDestination IEventDestination, options *ExtensionOptions) // Returns a string representation of this construct. // Deprecated. ToString() *string }
A hosted configuration represents configuration stored in the AWS AppConfig hosted configuration store.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var application application var configurationContent configurationContent var deploymentStrategy deploymentStrategy var environment environment var key key var validator iValidator hostedConfiguration := appconfig_alpha.NewHostedConfiguration(this, jsii.String("MyHostedConfiguration"), &HostedConfigurationProps{ Application: application, Content: configurationContent, // the properties below are optional DeploymentKey: key, DeploymentStrategy: deploymentStrategy, DeployTo: []iEnvironment{ environment, }, Description: jsii.String("description"), LatestVersionNumber: jsii.Number(123), Name: jsii.String("name"), Type: appconfig_alpha.ConfigurationType_FREEFORM, Validators: []*iValidator{ validator, }, VersionLabel: jsii.String("versionLabel"), })
Deprecated.
func NewHostedConfiguration ¶
func NewHostedConfiguration(scope constructs.Construct, id *string, props *HostedConfigurationProps) HostedConfiguration
Deprecated.
type HostedConfigurationOptions ¶
type HostedConfigurationOptions struct { // The deployment key of the configuration. // Default: - None. // // Deprecated. DeploymentKey awskms.IKey `field:"optional" json:"deploymentKey" yaml:"deploymentKey"` // The deployment strategy for the configuration. // Default: - A deployment strategy with the rollout strategy set to // RolloutStrategy.CANARY_10_PERCENT_20_MINUTES // // Deprecated. DeploymentStrategy IDeploymentStrategy `field:"optional" json:"deploymentStrategy" yaml:"deploymentStrategy"` // The list of environments to deploy the configuration to. // // If this parameter is not specified, then there will be no // deployment. // Default: - None. // // Deprecated. DeployTo *[]IEnvironment `field:"optional" json:"deployTo" yaml:"deployTo"` // The description of the configuration. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the configuration. // Default: - A name is generated. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` // The type of configuration. // Default: ConfigurationType.FREEFORM // // Deprecated. Type ConfigurationType `field:"optional" json:"type" yaml:"type"` // The validators for the configuration. // Default: - No validators. // // Deprecated. Validators *[]IValidator `field:"optional" json:"validators" yaml:"validators"` // The content of the hosted configuration. // Deprecated. Content ConfigurationContent `field:"required" json:"content" yaml:"content"` // The latest version number of the hosted configuration. // Default: - None. // // Deprecated. LatestVersionNumber *float64 `field:"optional" json:"latestVersionNumber" yaml:"latestVersionNumber"` // The version label of the hosted configuration. // Default: - None. // // Deprecated. VersionLabel *string `field:"optional" json:"versionLabel" yaml:"versionLabel"` }
Options for HostedConfiguration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var configurationContent configurationContent var deploymentStrategy deploymentStrategy var environment environment var key key var validator iValidator hostedConfigurationOptions := &HostedConfigurationOptions{ Content: configurationContent, // the properties below are optional DeploymentKey: key, DeploymentStrategy: deploymentStrategy, DeployTo: []iEnvironment{ environment, }, Description: jsii.String("description"), LatestVersionNumber: jsii.Number(123), Name: jsii.String("name"), Type: appconfig_alpha.ConfigurationType_FREEFORM, Validators: []*iValidator{ validator, }, VersionLabel: jsii.String("versionLabel"), }
Deprecated.
type HostedConfigurationProps ¶
type HostedConfigurationProps struct { // The deployment key of the configuration. // Default: - None. // // Deprecated. DeploymentKey awskms.IKey `field:"optional" json:"deploymentKey" yaml:"deploymentKey"` // The deployment strategy for the configuration. // Default: - A deployment strategy with the rollout strategy set to // RolloutStrategy.CANARY_10_PERCENT_20_MINUTES // // Deprecated. DeploymentStrategy IDeploymentStrategy `field:"optional" json:"deploymentStrategy" yaml:"deploymentStrategy"` // The list of environments to deploy the configuration to. // // If this parameter is not specified, then there will be no // deployment. // Default: - None. // // Deprecated. DeployTo *[]IEnvironment `field:"optional" json:"deployTo" yaml:"deployTo"` // The description of the configuration. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the configuration. // Default: - A name is generated. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` // The type of configuration. // Default: ConfigurationType.FREEFORM // // Deprecated. Type ConfigurationType `field:"optional" json:"type" yaml:"type"` // The validators for the configuration. // Default: - No validators. // // Deprecated. Validators *[]IValidator `field:"optional" json:"validators" yaml:"validators"` // The application associated with the configuration. // Deprecated. Application IApplication `field:"required" json:"application" yaml:"application"` // The content of the hosted configuration. // Deprecated. Content ConfigurationContent `field:"required" json:"content" yaml:"content"` // The latest version number of the hosted configuration. // Default: - None. // // Deprecated. LatestVersionNumber *float64 `field:"optional" json:"latestVersionNumber" yaml:"latestVersionNumber"` // The version label of the hosted configuration. // Default: - None. // // Deprecated. VersionLabel *string `field:"optional" json:"versionLabel" yaml:"versionLabel"` }
Properties for HostedConfiguration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var application application var configurationContent configurationContent var deploymentStrategy deploymentStrategy var environment environment var key key var validator iValidator hostedConfigurationProps := &HostedConfigurationProps{ Application: application, Content: configurationContent, // the properties below are optional DeploymentKey: key, DeploymentStrategy: deploymentStrategy, DeployTo: []iEnvironment{ environment, }, Description: jsii.String("description"), LatestVersionNumber: jsii.Number(123), Name: jsii.String("name"), Type: appconfig_alpha.ConfigurationType_FREEFORM, Validators: []*iValidator{ validator, }, VersionLabel: jsii.String("versionLabel"), }
Deprecated.
type IApplication ¶
type IApplication interface { awscdk.IResource // Adds an environment. // Deprecated. AddEnvironment(id *string, options *EnvironmentOptions) IEnvironment // Adds an existing environment. // Deprecated. AddExistingEnvironment(environment IEnvironment) // Adds an extension association to the application. // Deprecated. AddExtension(extension IExtension) // Adds a hosted configuration. // Deprecated. AddHostedConfiguration(id *string, options *HostedConfigurationOptions) HostedConfiguration // Adds a sourced configuration. // Deprecated. AddSourcedConfiguration(id *string, options *SourcedConfigurationOptions) SourcedConfiguration // Adds an extension defined by the action point and event destination and also creates an extension association to an application. // Deprecated. On(actionPoint ActionPoint, eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentBaking(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentComplete(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentRolledBack(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentStart(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to an application. // Deprecated. OnDeploymentStep(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to an application. // Deprecated. PreCreateHostedConfigurationVersion(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to an application. // Deprecated. PreStartDeployment(eventDestination IEventDestination, options *ExtensionOptions) // The Amazon Resource Name (ARN) of the application. // Deprecated. ApplicationArn() *string // The ID of the application. // Deprecated. ApplicationId() *string // The description of the application. // Deprecated. Description() *string // Returns the list of associated environments. // Deprecated. Environments() *[]IEnvironment // The name of the application. // Deprecated. Name() *string }
Deprecated.
func Application_FromApplicationArn ¶
func Application_FromApplicationArn(scope constructs.Construct, id *string, applicationArn *string) IApplication
Imports an AWS AppConfig application into the CDK using its Amazon Resource Name (ARN). Deprecated.
func Application_FromApplicationId ¶
func Application_FromApplicationId(scope constructs.Construct, id *string, applicationId *string) IApplication
Imports an AWS AppConfig application into the CDK using its ID. Deprecated.
type IConfiguration ¶
type IConfiguration interface { constructs.IConstruct // The application associated with the configuration. // Deprecated. Application() IApplication // The ID of the configuration profile. // Deprecated. ConfigurationProfileId() *string // The deployment key for the configuration. // Deprecated. DeploymentKey() awskms.IKey // The deployment strategy for the configuration. // Deprecated. DeploymentStrategy() IDeploymentStrategy // The environments to deploy to. // Deprecated. DeployTo() *[]IEnvironment // The description of the configuration. // Deprecated. Description() *string // The name of the configuration. // Deprecated. Name() *string // The configuration type. // Deprecated. Type() ConfigurationType // The validators for the configuration. // Deprecated. Validators() *[]IValidator // The configuration version number. // Deprecated. VersionNumber() *string }
Deprecated.
type IDeploymentStrategy ¶
type IDeploymentStrategy interface { awscdk.IResource // The deployment duration in minutes. // Deprecated. DeploymentDurationInMinutes() *float64 // The Amazon Resource Name (ARN) of the deployment strategy. // Deprecated. DeploymentStrategyArn() *string // The ID of the deployment strategy. // Deprecated. DeploymentStrategyId() *string // The description of the deployment strategy. // Deprecated. Description() *string // The final bake time in minutes. // Deprecated. FinalBakeTimeInMinutes() *float64 // The growth factor of the deployment strategy. // Deprecated. GrowthFactor() *float64 // The growth type of the deployment strategy. // Deprecated. GrowthType() GrowthType // The name of the deployment strategy. // Deprecated. Name() *string }
Deprecated.
func DeploymentStrategy_FromDeploymentStrategyArn ¶
func DeploymentStrategy_FromDeploymentStrategyArn(scope constructs.Construct, id *string, deploymentStrategyArn *string) IDeploymentStrategy
Imports a deployment strategy into the CDK using its Amazon Resource Name (ARN). Deprecated.
func DeploymentStrategy_FromDeploymentStrategyId ¶
func DeploymentStrategy_FromDeploymentStrategyId(scope constructs.Construct, id *string, deploymentStrategyId DeploymentStrategyId) IDeploymentStrategy
Imports a deployment strategy into the CDK using its ID. Deprecated.
type IEnvironment ¶
type IEnvironment interface { awscdk.IResource // Adds an extension association to the environment. // Deprecated. AddExtension(extension IExtension) // Adds an extension defined by the action point and event destination and also creates an extension association to the environment. // Deprecated. On(actionPoint ActionPoint, eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentBaking(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentComplete(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentRolledBack(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentStart(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the environment. // Deprecated. OnDeploymentStep(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the environment. // Deprecated. PreCreateHostedConfigurationVersion(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the environment. // Deprecated. PreStartDeployment(eventDestination IEventDestination, options *ExtensionOptions) // The application associated with the environment. // Deprecated. Application() IApplication // The ID of the application associated to the environment. // Deprecated. ApplicationId() *string // The description of the environment. // Deprecated. Description() *string // The Amazon Resource Name (ARN) of the environment. // Deprecated. EnvironmentArn() *string // The ID of the environment. // Deprecated. EnvironmentId() *string // The monitors for the environment. // Deprecated. Monitors() *[]Monitor // The name of the environment. // Deprecated. Name() *string }
Deprecated.
func Environment_FromEnvironmentArn ¶
func Environment_FromEnvironmentArn(scope constructs.Construct, id *string, environmentArn *string) IEnvironment
Imports an environment into the CDK using its Amazon Resource Name (ARN). Deprecated.
func Environment_FromEnvironmentAttributes ¶
func Environment_FromEnvironmentAttributes(scope constructs.Construct, id *string, attrs *EnvironmentAttributes) IEnvironment
Imports an environment into the CDK from its attributes. Deprecated.
type IEventDestination ¶
type IEventDestination interface { // The URI of the extension event destination. // Deprecated. ExtensionUri() *string // The IAM policy document to invoke the event destination. // Deprecated. PolicyDocument() awsiam.PolicyDocument // The type of the extension event destination. // Deprecated. Type() SourceType }
Implemented by allowed extension event destinations. Deprecated.
type IExtensible ¶
type IExtensible interface { // Adds an extension association to the derived resource. // Deprecated. AddExtension(extension IExtension) // Adds an extension defined by the action point and event destination and also creates an extension association to the derived resource. // Deprecated. On(actionPoint ActionPoint, eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentBaking(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentComplete(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentRolledBack(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentStart(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. OnDeploymentStep(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. PreCreateHostedConfigurationVersion(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the derived resource. // Deprecated. PreStartDeployment(eventDestination IEventDestination, options *ExtensionOptions) }
Defines the extensible base implementation for extension association resources. Deprecated.
type IExtension ¶
type IExtension interface { awscdk.IResource // The actions for the extension. // Deprecated. Actions() *[]Action // The description of the extension. // Deprecated. Description() *string // The Amazon Resource Name (ARN) of the extension. // Deprecated. ExtensionArn() *string // The ID of the extension. // Deprecated. ExtensionId() *string // The version number of the extension. // Deprecated. ExtensionVersionNumber() *float64 // The latest version number of the extension. // Deprecated. LatestVersionNumber() *float64 // The name of the extension. // Deprecated. Name() *string // The parameters of the extension. // Deprecated. Parameters() *[]Parameter }
Deprecated.
func Extension_FromExtensionArn ¶
func Extension_FromExtensionArn(scope constructs.Construct, id *string, extensionArn *string) IExtension
Imports an extension into the CDK using its Amazon Resource Name (ARN). Deprecated.
func Extension_FromExtensionAttributes ¶
func Extension_FromExtensionAttributes(scope constructs.Construct, id *string, attrs *ExtensionAttributes) IExtension
Imports an extension into the CDK using its attributes. Deprecated.
type IValidator ¶
type IValidator interface { // The content of the validator. // Deprecated. Content() *string // The type of validator. // Deprecated. Type() ValidatorType }
Deprecated.
type JsonSchemaValidator ¶
type JsonSchemaValidator interface { IValidator // The content of the validator. // Deprecated. Content() *string // The type of validator. // Deprecated. Type() ValidatorType }
Defines a JSON Schema validator.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" jsonSchemaValidator := appconfig_alpha.JsonSchemaValidator_FromFile(jsii.String("inputPath"))
Deprecated.
func JsonSchemaValidator_FromFile ¶
func JsonSchemaValidator_FromFile(inputPath *string) JsonSchemaValidator
Defines a JSON Schema validator from a file. Deprecated.
func JsonSchemaValidator_FromInline ¶
func JsonSchemaValidator_FromInline(code *string) JsonSchemaValidator
Defines a JSON Schema validator from inline code. Deprecated.
type LambdaDestination ¶
type LambdaDestination interface { IEventDestination // The URI of the extension event destination. // Deprecated. ExtensionUri() *string // The IAM policy document to invoke the event destination. // Deprecated. PolicyDocument() awsiam.PolicyDocument // The type of the extension event destination. // Deprecated. Type() SourceType }
Use an AWS Lambda function as an event destination.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var function_ function lambdaDestination := appconfig_alpha.NewLambdaDestination(function_)
Deprecated.
func NewLambdaDestination ¶
func NewLambdaDestination(func_ awslambda.IFunction) LambdaDestination
Deprecated.
type LambdaValidator ¶
type LambdaValidator interface { IValidator // The content of the validator. // Deprecated. Content() *string // The type of validator. // Deprecated. Type() ValidatorType }
Defines an AWS Lambda validator.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var function_ function lambdaValidator := appconfig_alpha.LambdaValidator_FromFunction(function_)
Deprecated.
func LambdaValidator_FromFunction ¶
func LambdaValidator_FromFunction(func_ awslambda.Function) LambdaValidator
Defines an AWS Lambda validator from a Lambda function.
This will call `addPermission` to your function to grant AWS AppConfig permissions. Deprecated.
type Monitor ¶
type Monitor interface { // The alarm ARN for AWS AppConfig to monitor. // Deprecated. AlarmArn() *string // The IAM role ARN for AWS AppConfig to view the alarm state. // Deprecated. AlarmRoleArn() *string // Indicates whether a CloudWatch alarm is a composite alarm. // Deprecated. IsCompositeAlarm() *bool // The type of monitor. // Deprecated. MonitorType() MonitorType }
Defines monitors that will be associated with an AWS AppConfig environment.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" monitor := appconfig_alpha.Monitor_FromCfnMonitorsProperty(&MonitorsProperty{ AlarmArn: jsii.String("alarmArn"), AlarmRoleArn: jsii.String("alarmRoleArn"), })
Deprecated.
func Monitor_FromCfnMonitorsProperty ¶
func Monitor_FromCfnMonitorsProperty(monitorsProperty *awsappconfig.CfnEnvironment_MonitorsProperty) Monitor
Creates a Monitor from a CfnEnvironment.MonitorsProperty construct. Deprecated.
func Monitor_FromCloudWatchAlarm ¶
func Monitor_FromCloudWatchAlarm(alarm awscloudwatch.IAlarm, alarmRole awsiam.IRole) Monitor
Creates a Monitor from a CloudWatch alarm.
If the alarm role is not specified, a role will be generated. Deprecated.
type MonitorType ¶
type MonitorType string
The type of Monitor. Deprecated.
const ( // A Monitor from a CloudWatch alarm. // Deprecated. MonitorType_CLOUDWATCH MonitorType = "CLOUDWATCH" // A Monitor from a CfnEnvironment.MonitorsProperty construct. // Deprecated. MonitorType_CFN_MONITORS_PROPERTY MonitorType = "CFN_MONITORS_PROPERTY" )
type Parameter ¶
type Parameter interface { // The description of the parameter. // Deprecated. Description() *string // A boolean that indicates if the parameter is required or optional. // Deprecated. IsRequired() *bool // The name of the parameter. // Deprecated. Name() *string // The value of the parameter. // Deprecated. Value() *string }
Defines a parameter for an extension.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" parameter := appconfig_alpha.Parameter_NotRequired(jsii.String("name"), jsii.String("value"), jsii.String("description"))
Deprecated.
func Parameter_NotRequired ¶
An optional parameter for an extension. Deprecated.
type Platform ¶
type Platform string
Defines the platform for the AWS AppConfig Lambda extension. Deprecated.
type RolloutStrategy ¶
type RolloutStrategy interface { // The deployment duration of the rollout strategy. // Deprecated. DeploymentDuration() awscdk.Duration // The final bake time of the deployment strategy. // Deprecated. FinalBakeTime() awscdk.Duration // The growth factor of the rollout strategy. // Deprecated. GrowthFactor() *float64 // The growth type of the rollout strategy. // Deprecated. GrowthType() GrowthType }
Defines the rollout strategy for a deployment strategy and includes the growth factor, deployment duration, growth type, and optionally final bake time.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" rolloutStrategy := appconfig_alpha.RolloutStrategy_ALL_AT_ONCE()
See: https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html
Deprecated.
func RolloutStrategy_ALL_AT_ONCE ¶
func RolloutStrategy_ALL_AT_ONCE() RolloutStrategy
func RolloutStrategy_CANARY_10_PERCENT_20_MINUTES ¶
func RolloutStrategy_CANARY_10_PERCENT_20_MINUTES() RolloutStrategy
func RolloutStrategy_Exponential ¶
func RolloutStrategy_Exponential(props *RolloutStrategyProps) RolloutStrategy
Build your own exponential rollout strategy. Deprecated.
func RolloutStrategy_LINEAR_20_PERCENT_EVERY_6_MINUTES ¶
func RolloutStrategy_LINEAR_20_PERCENT_EVERY_6_MINUTES() RolloutStrategy
func RolloutStrategy_LINEAR_50_PERCENT_EVERY_30_SECONDS ¶
func RolloutStrategy_LINEAR_50_PERCENT_EVERY_30_SECONDS() RolloutStrategy
func RolloutStrategy_Linear ¶
func RolloutStrategy_Linear(props *RolloutStrategyProps) RolloutStrategy
Build your own linear rollout strategy. Deprecated.
type RolloutStrategyProps ¶
type RolloutStrategyProps struct { // The deployment duration of the deployment strategy. // // This defines // the total amount of time for a deployment to last. // Deprecated. DeploymentDuration awscdk.Duration `field:"required" json:"deploymentDuration" yaml:"deploymentDuration"` // The growth factor of the deployment strategy. // // This defines // the percentage of targets to receive a deployed configuration // during each interval. // Deprecated. GrowthFactor *float64 `field:"required" json:"growthFactor" yaml:"growthFactor"` // The final bake time of the deployment strategy. // // This setting specifies the amount of time AWS AppConfig monitors for Amazon // CloudWatch alarms after the configuration has been deployed to // 100% of its targets, before considering the deployment to be complete. // If an alarm is triggered during this time, AWS AppConfig rolls back // the deployment. // Default: Duration.minutes(0) // // Deprecated. FinalBakeTime awscdk.Duration `field:"optional" json:"finalBakeTime" yaml:"finalBakeTime"` }
Properties for the Rollout Strategy.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" rolloutStrategyProps := &RolloutStrategyProps{ DeploymentDuration: cdk.Duration_Minutes(jsii.Number(30)), GrowthFactor: jsii.Number(123), // the properties below are optional FinalBakeTime: cdk.Duration_*Minutes(jsii.Number(30)), }
Deprecated.
type SnsDestination ¶
type SnsDestination interface { IEventDestination // The URI of the extension event destination. // Deprecated. ExtensionUri() *string // The IAM policy document to invoke the event destination. // Deprecated. PolicyDocument() awsiam.PolicyDocument // The type of the extension event destination. // Deprecated. Type() SourceType }
Use an Amazon SNS topic as an event destination.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var topic topic snsDestination := appconfig_alpha.NewSnsDestination(topic)
Deprecated.
type SourceType ¶
type SourceType string
Defines the source type for event destinations. Deprecated.
const ( // Deprecated. SourceType_LAMBDA SourceType = "LAMBDA" // Deprecated. SourceType_SQS SourceType = "SQS" // Deprecated. SourceType_SNS SourceType = "SNS" // Deprecated. SourceType_EVENTS SourceType = "EVENTS" )
type SourcedConfiguration ¶
type SourcedConfiguration interface { constructs.Construct IConfiguration IExtensible // The application associated with the configuration. // Deprecated. Application() IApplication // Deprecated. ApplicationId() *string // Deprecated. SetApplicationId(val *string) // The Amazon Resource Name (ARN) of the configuration profile. // Deprecated. ConfigurationProfileArn() *string // The ID of the configuration profile. // Deprecated. ConfigurationProfileId() *string // The deployment key for the configuration. // Deprecated. DeploymentKey() awskms.IKey // The deployment strategy for the configuration. // Deprecated. DeploymentStrategy() IDeploymentStrategy // The environments to deploy to. // Deprecated. DeployTo() *[]IEnvironment // The description of the configuration. // Deprecated. Description() *string // Deprecated. Extensible() ExtensibleBase // Deprecated. SetExtensible(val ExtensibleBase) // The location where the configuration is stored. // Deprecated. Location() ConfigurationSource // The name of the configuration. // Deprecated. Name() *string // The tree node. // Deprecated. Node() constructs.Node // The IAM role to retrieve the configuration. // Deprecated. RetrievalRole() awsiam.IRole // The key to decrypt the configuration if applicable. // // This key // can be used when storing configuration in AWS Secrets Manager, Systems Manager Parameter Store, // or Amazon S3. // Deprecated. SourceKey() awskms.IKey // The configuration type. // Deprecated. Type() ConfigurationType // The validators for the configuration. // Deprecated. Validators() *[]IValidator // The version number of the configuration to deploy. // Deprecated. VersionNumber() *string // Deprecated. AddExistingEnvironmentsToApplication() // Adds an extension association to the configuration profile. // Deprecated. AddExtension(extension IExtension) // Deploys the configuration to the specified environment. // Deprecated: Use `deployTo` as a property instead. We do not recommend // creating resources in multiple stacks. If you want to do this still, // please take a look into https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_appconfig.CfnDeployment.html. Deploy(environment IEnvironment) // Deprecated. DeployConfigToEnvironments() // Adds an extension defined by the action point and event destination and also creates an extension association to the configuration profile. // Deprecated. On(actionPoint ActionPoint, eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_BAKING extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentBaking(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_COMPLETE extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentComplete(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_ROLLED_BACK extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentRolledBack(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_START extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentStart(eventDestination IEventDestination, options *ExtensionOptions) // Adds an ON_DEPLOYMENT_STEP extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. OnDeploymentStep(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_CREATE_HOSTED_CONFIGURATION_VERSION extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. PreCreateHostedConfigurationVersion(eventDestination IEventDestination, options *ExtensionOptions) // Adds a PRE_START_DEPLOYMENT extension with the provided event destination and also creates an extension association to the configuration profile. // Deprecated. PreStartDeployment(eventDestination IEventDestination, options *ExtensionOptions) // Returns a string representation of this construct. // Deprecated. ToString() *string }
A sourced configuration represents configuration stored in an Amazon S3 bucket, AWS Secrets Manager secret, Systems Manager (SSM) Parameter Store parameter, SSM document, or AWS CodePipeline.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" import "github.com/aws/aws-cdk-go/awscdk" var application application var configurationSource configurationSource var deploymentStrategy deploymentStrategy var environment environment var key key var role role var validator iValidator sourcedConfiguration := appconfig_alpha.NewSourcedConfiguration(this, jsii.String("MySourcedConfiguration"), &SourcedConfigurationProps{ Application: application, Location: configurationSource, // the properties below are optional DeploymentKey: key, DeploymentStrategy: deploymentStrategy, DeployTo: []iEnvironment{ environment, }, Description: jsii.String("description"), Name: jsii.String("name"), RetrievalRole: role, Type: appconfig_alpha.ConfigurationType_FREEFORM, Validators: []*iValidator{ validator, }, VersionNumber: jsii.String("versionNumber"), })
Deprecated.
func NewSourcedConfiguration ¶
func NewSourcedConfiguration(scope constructs.Construct, id *string, props *SourcedConfigurationProps) SourcedConfiguration
Deprecated.
type SourcedConfigurationOptions ¶
type SourcedConfigurationOptions struct { // The deployment key of the configuration. // Default: - None. // // Deprecated. DeploymentKey awskms.IKey `field:"optional" json:"deploymentKey" yaml:"deploymentKey"` // The deployment strategy for the configuration. // Default: - A deployment strategy with the rollout strategy set to // RolloutStrategy.CANARY_10_PERCENT_20_MINUTES // // Deprecated. DeploymentStrategy IDeploymentStrategy `field:"optional" json:"deploymentStrategy" yaml:"deploymentStrategy"` // The list of environments to deploy the configuration to. // // If this parameter is not specified, then there will be no // deployment. // Default: - None. // // Deprecated. DeployTo *[]IEnvironment `field:"optional" json:"deployTo" yaml:"deployTo"` // The description of the configuration. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the configuration. // Default: - A name is generated. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` // The type of configuration. // Default: ConfigurationType.FREEFORM // // Deprecated. Type ConfigurationType `field:"optional" json:"type" yaml:"type"` // The validators for the configuration. // Default: - No validators. // // Deprecated. Validators *[]IValidator `field:"optional" json:"validators" yaml:"validators"` // The location where the configuration is stored. // Deprecated. Location ConfigurationSource `field:"required" json:"location" yaml:"location"` // The IAM role to retrieve the configuration. // Default: - A role is generated. // // Deprecated. RetrievalRole awsiam.IRole `field:"optional" json:"retrievalRole" yaml:"retrievalRole"` // The version number of the sourced configuration to deploy. // // If this is not specified, // then there will be no deployment. // Default: - None. // // Deprecated. VersionNumber *string `field:"optional" json:"versionNumber" yaml:"versionNumber"` }
Options for SourcedConfiguration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" import "github.com/aws/aws-cdk-go/awscdk" var configurationSource configurationSource var deploymentStrategy deploymentStrategy var environment environment var key key var role role var validator iValidator sourcedConfigurationOptions := &SourcedConfigurationOptions{ Location: configurationSource, // the properties below are optional DeploymentKey: key, DeploymentStrategy: deploymentStrategy, DeployTo: []iEnvironment{ environment, }, Description: jsii.String("description"), Name: jsii.String("name"), RetrievalRole: role, Type: appconfig_alpha.ConfigurationType_FREEFORM, Validators: []*iValidator{ validator, }, VersionNumber: jsii.String("versionNumber"), }
Deprecated.
type SourcedConfigurationProps ¶
type SourcedConfigurationProps struct { // The deployment key of the configuration. // Default: - None. // // Deprecated. DeploymentKey awskms.IKey `field:"optional" json:"deploymentKey" yaml:"deploymentKey"` // The deployment strategy for the configuration. // Default: - A deployment strategy with the rollout strategy set to // RolloutStrategy.CANARY_10_PERCENT_20_MINUTES // // Deprecated. DeploymentStrategy IDeploymentStrategy `field:"optional" json:"deploymentStrategy" yaml:"deploymentStrategy"` // The list of environments to deploy the configuration to. // // If this parameter is not specified, then there will be no // deployment. // Default: - None. // // Deprecated. DeployTo *[]IEnvironment `field:"optional" json:"deployTo" yaml:"deployTo"` // The description of the configuration. // Default: - No description. // // Deprecated. Description *string `field:"optional" json:"description" yaml:"description"` // The name of the configuration. // Default: - A name is generated. // // Deprecated. Name *string `field:"optional" json:"name" yaml:"name"` // The type of configuration. // Default: ConfigurationType.FREEFORM // // Deprecated. Type ConfigurationType `field:"optional" json:"type" yaml:"type"` // The validators for the configuration. // Default: - No validators. // // Deprecated. Validators *[]IValidator `field:"optional" json:"validators" yaml:"validators"` // The application associated with the configuration. // Deprecated. Application IApplication `field:"required" json:"application" yaml:"application"` // The location where the configuration is stored. // Deprecated. Location ConfigurationSource `field:"required" json:"location" yaml:"location"` // The IAM role to retrieve the configuration. // Default: - A role is generated. // // Deprecated. RetrievalRole awsiam.IRole `field:"optional" json:"retrievalRole" yaml:"retrievalRole"` // The version number of the sourced configuration to deploy. // // If this is not specified, // then there will be no deployment. // Default: - None. // // Deprecated. VersionNumber *string `field:"optional" json:"versionNumber" yaml:"versionNumber"` }
Properties for SourcedConfiguration.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" import "github.com/aws/aws-cdk-go/awscdk" var application application var configurationSource configurationSource var deploymentStrategy deploymentStrategy var environment environment var key key var role role var validator iValidator sourcedConfigurationProps := &SourcedConfigurationProps{ Application: application, Location: configurationSource, // the properties below are optional DeploymentKey: key, DeploymentStrategy: deploymentStrategy, DeployTo: []iEnvironment{ environment, }, Description: jsii.String("description"), Name: jsii.String("name"), RetrievalRole: role, Type: appconfig_alpha.ConfigurationType_FREEFORM, Validators: []*iValidator{ validator, }, VersionNumber: jsii.String("versionNumber"), }
Deprecated.
type SqsDestination ¶
type SqsDestination interface { IEventDestination // The URI of the extension event destination. // Deprecated. ExtensionUri() *string // The IAM policy document to invoke the event destination. // Deprecated. PolicyDocument() awsiam.PolicyDocument // The type of the extension event destination. // Deprecated. Type() SourceType }
Use an Amazon SQS queue as an event destination.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import appconfig_alpha "github.com/aws/aws-cdk-go/awscdkappconfigalpha" import "github.com/aws/aws-cdk-go/awscdk" var queue queue sqsDestination := appconfig_alpha.NewSqsDestination(queue)
Deprecated.
type ValidatorType ¶
type ValidatorType string
The validator type. Deprecated.
const ( // JSON Scema validator. // Deprecated. ValidatorType_JSON_SCHEMA ValidatorType = "JSON_SCHEMA" // Validate using a Lambda function. // Deprecated. ValidatorType_LAMBDA ValidatorType = "LAMBDA" )
Source Files ¶
- Action.go
- ActionPoint.go
- ActionProps.go
- Action__checks.go
- Application.go
- ApplicationProps.go
- Application__checks.go
- ConfigurationContent.go
- ConfigurationContent__checks.go
- ConfigurationOptions.go
- ConfigurationProps.go
- ConfigurationSource.go
- ConfigurationSourceType.go
- ConfigurationSource__checks.go
- ConfigurationType.go
- DeploymentStrategy.go
- DeploymentStrategyId.go
- DeploymentStrategyId__checks.go
- DeploymentStrategyProps.go
- DeploymentStrategy__checks.go
- Environment.go
- EnvironmentAttributes.go
- EnvironmentOptions.go
- EnvironmentProps.go
- Environment__checks.go
- EventBridgeDestination.go
- EventBridgeDestination__checks.go
- ExtensibleBase.go
- ExtensibleBase__checks.go
- Extension.go
- ExtensionAttributes.go
- ExtensionOptions.go
- ExtensionProps.go
- Extension__checks.go
- GrowthType.go
- HostedConfiguration.go
- HostedConfigurationOptions.go
- HostedConfigurationProps.go
- HostedConfiguration__checks.go
- IApplication.go
- IApplication__checks.go
- IConfiguration.go
- IDeploymentStrategy.go
- IEnvironment.go
- IEnvironment__checks.go
- IEventDestination.go
- IExtensible.go
- IExtensible__checks.go
- IExtension.go
- IValidator.go
- JsonSchemaValidator.go
- JsonSchemaValidator__checks.go
- LambdaDestination.go
- LambdaDestination__checks.go
- LambdaValidator.go
- LambdaValidator__checks.go
- Monitor.go
- MonitorType.go
- Monitor__checks.go
- Parameter.go
- Parameter__checks.go
- Platform.go
- RolloutStrategy.go
- RolloutStrategyProps.go
- RolloutStrategy__checks.go
- SnsDestination.go
- SnsDestination__checks.go
- SourceType.go
- SourcedConfiguration.go
- SourcedConfigurationOptions.go
- SourcedConfigurationProps.go
- SourcedConfiguration__checks.go
- SqsDestination.go
- SqsDestination__checks.go
- ValidatorType.go
- main.go