appconfig

package
v4.38.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 10, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Application

type Application struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the AppConfig Application.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description of the application. Can be at most 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name for the application. Must be between 1 and 64 characters in length.
	Name pulumi.StringOutput `pulumi:"name"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an AppConfig Application resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appconfig.NewApplication(ctx, "example", &appconfig.ApplicationArgs{
			Description: pulumi.String("Example AppConfig Application"),
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Application"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppConfig Applications can be imported using their application ID, e.g.,

```sh

$ pulumi import aws:appconfig/application:Application example 71rxuzt

```

func GetApplication

func GetApplication(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ApplicationState, opts ...pulumi.ResourceOption) (*Application, error)

GetApplication gets an existing Application resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewApplication

func NewApplication(ctx *pulumi.Context,
	name string, args *ApplicationArgs, opts ...pulumi.ResourceOption) (*Application, error)

NewApplication registers a new resource with the given unique name, arguments, and options.

func (*Application) ElementType

func (*Application) ElementType() reflect.Type

func (*Application) ToApplicationOutput

func (i *Application) ToApplicationOutput() ApplicationOutput

func (*Application) ToApplicationOutputWithContext

func (i *Application) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationArgs

type ApplicationArgs struct {
	// The description of the application. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// The name for the application. Must be between 1 and 64 characters in length.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Application resource.

func (ApplicationArgs) ElementType

func (ApplicationArgs) ElementType() reflect.Type

type ApplicationArray

type ApplicationArray []ApplicationInput

func (ApplicationArray) ElementType

func (ApplicationArray) ElementType() reflect.Type

func (ApplicationArray) ToApplicationArrayOutput

func (i ApplicationArray) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArray) ToApplicationArrayOutputWithContext

func (i ApplicationArray) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationArrayInput

type ApplicationArrayInput interface {
	pulumi.Input

	ToApplicationArrayOutput() ApplicationArrayOutput
	ToApplicationArrayOutputWithContext(context.Context) ApplicationArrayOutput
}

ApplicationArrayInput is an input type that accepts ApplicationArray and ApplicationArrayOutput values. You can construct a concrete instance of `ApplicationArrayInput` via:

ApplicationArray{ ApplicationArgs{...} }

type ApplicationArrayOutput

type ApplicationArrayOutput struct{ *pulumi.OutputState }

func (ApplicationArrayOutput) ElementType

func (ApplicationArrayOutput) ElementType() reflect.Type

func (ApplicationArrayOutput) Index

func (ApplicationArrayOutput) ToApplicationArrayOutput

func (o ApplicationArrayOutput) ToApplicationArrayOutput() ApplicationArrayOutput

func (ApplicationArrayOutput) ToApplicationArrayOutputWithContext

func (o ApplicationArrayOutput) ToApplicationArrayOutputWithContext(ctx context.Context) ApplicationArrayOutput

type ApplicationInput

type ApplicationInput interface {
	pulumi.Input

	ToApplicationOutput() ApplicationOutput
	ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput
}

type ApplicationMap

type ApplicationMap map[string]ApplicationInput

func (ApplicationMap) ElementType

func (ApplicationMap) ElementType() reflect.Type

func (ApplicationMap) ToApplicationMapOutput

func (i ApplicationMap) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMap) ToApplicationMapOutputWithContext

func (i ApplicationMap) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationMapInput

type ApplicationMapInput interface {
	pulumi.Input

	ToApplicationMapOutput() ApplicationMapOutput
	ToApplicationMapOutputWithContext(context.Context) ApplicationMapOutput
}

ApplicationMapInput is an input type that accepts ApplicationMap and ApplicationMapOutput values. You can construct a concrete instance of `ApplicationMapInput` via:

ApplicationMap{ "key": ApplicationArgs{...} }

type ApplicationMapOutput

type ApplicationMapOutput struct{ *pulumi.OutputState }

func (ApplicationMapOutput) ElementType

func (ApplicationMapOutput) ElementType() reflect.Type

func (ApplicationMapOutput) MapIndex

func (ApplicationMapOutput) ToApplicationMapOutput

func (o ApplicationMapOutput) ToApplicationMapOutput() ApplicationMapOutput

func (ApplicationMapOutput) ToApplicationMapOutputWithContext

func (o ApplicationMapOutput) ToApplicationMapOutputWithContext(ctx context.Context) ApplicationMapOutput

type ApplicationOutput

type ApplicationOutput struct{ *pulumi.OutputState }

func (ApplicationOutput) ElementType

func (ApplicationOutput) ElementType() reflect.Type

func (ApplicationOutput) ToApplicationOutput

func (o ApplicationOutput) ToApplicationOutput() ApplicationOutput

func (ApplicationOutput) ToApplicationOutputWithContext

func (o ApplicationOutput) ToApplicationOutputWithContext(ctx context.Context) ApplicationOutput

type ApplicationState

type ApplicationState struct {
	// The Amazon Resource Name (ARN) of the AppConfig Application.
	Arn pulumi.StringPtrInput
	// The description of the application. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// The name for the application. Must be between 1 and 64 characters in length.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (ApplicationState) ElementType

func (ApplicationState) ElementType() reflect.Type

type ConfigurationProfile

type ConfigurationProfile struct {
	pulumi.CustomResourceState

	// The application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The Amazon Resource Name (ARN) of the AppConfig Configuration Profile.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The configuration profile ID.
	ConfigurationProfileId pulumi.StringOutput `pulumi:"configurationProfileId"`
	// The description of the configuration profile. Can be at most 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store, specify `hosted`. For an SSM document, specify either the document name in the format `ssm-document://<Document_name>` or the Amazon Resource Name (ARN). For a parameter, specify either the parameter name in the format `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon S3 object, specify the URI in the following format: `s3://<bucket>/<objectKey>`.
	LocationUri pulumi.StringOutput `pulumi:"locationUri"`
	// The name for the configuration profile. Must be between 1 and 64 characters in length.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ARN of an IAM role with permission to access the configuration at the specified `locationUri`. A retrieval role ARN is not required for configurations stored in the AWS AppConfig `hosted` configuration store. It is required for all other sources that store your configuration.
	RetrievalRoleArn pulumi.StringPtrOutput `pulumi:"retrievalRoleArn"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
	// A set of methods for validating the configuration. Maximum of 2. See Validator below for more details.
	Validators ConfigurationProfileValidatorArrayOutput `pulumi:"validators"`
}

Provides an AppConfig Configuration Profile resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appconfig.NewConfigurationProfile(ctx, "example", &appconfig.ConfigurationProfileArgs{
			ApplicationId: pulumi.Any(aws_appconfig_application.Example.Id),
			Description:   pulumi.String("Example Configuration Profile"),
			LocationUri:   pulumi.String("hosted"),
			Validators: appconfig.ConfigurationProfileValidatorArray{
				&appconfig.ConfigurationProfileValidatorArgs{
					Content: pulumi.Any(aws_lambda_function.Example.Arn),
					Type:    pulumi.String("LAMBDA"),
				},
			},
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Configuration Profile"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppConfig Configuration Profiles can be imported by using the configuration profile ID and application ID separated by a colon (`:`), e.g.,

```sh

$ pulumi import aws:appconfig/configurationProfile:ConfigurationProfile example 71abcde:11xxxxx

```

func GetConfigurationProfile

func GetConfigurationProfile(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigurationProfileState, opts ...pulumi.ResourceOption) (*ConfigurationProfile, error)

GetConfigurationProfile gets an existing ConfigurationProfile resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewConfigurationProfile

func NewConfigurationProfile(ctx *pulumi.Context,
	name string, args *ConfigurationProfileArgs, opts ...pulumi.ResourceOption) (*ConfigurationProfile, error)

NewConfigurationProfile registers a new resource with the given unique name, arguments, and options.

func (*ConfigurationProfile) ElementType

func (*ConfigurationProfile) ElementType() reflect.Type

func (*ConfigurationProfile) ToConfigurationProfileOutput

func (i *ConfigurationProfile) ToConfigurationProfileOutput() ConfigurationProfileOutput

func (*ConfigurationProfile) ToConfigurationProfileOutputWithContext

func (i *ConfigurationProfile) ToConfigurationProfileOutputWithContext(ctx context.Context) ConfigurationProfileOutput

type ConfigurationProfileArgs

type ConfigurationProfileArgs struct {
	// The application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringInput
	// The description of the configuration profile. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store, specify `hosted`. For an SSM document, specify either the document name in the format `ssm-document://<Document_name>` or the Amazon Resource Name (ARN). For a parameter, specify either the parameter name in the format `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon S3 object, specify the URI in the following format: `s3://<bucket>/<objectKey>`.
	LocationUri pulumi.StringInput
	// The name for the configuration profile. Must be between 1 and 64 characters in length.
	Name pulumi.StringPtrInput
	// The ARN of an IAM role with permission to access the configuration at the specified `locationUri`. A retrieval role ARN is not required for configurations stored in the AWS AppConfig `hosted` configuration store. It is required for all other sources that store your configuration.
	RetrievalRoleArn pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A set of methods for validating the configuration. Maximum of 2. See Validator below for more details.
	Validators ConfigurationProfileValidatorArrayInput
}

The set of arguments for constructing a ConfigurationProfile resource.

func (ConfigurationProfileArgs) ElementType

func (ConfigurationProfileArgs) ElementType() reflect.Type

type ConfigurationProfileArray

type ConfigurationProfileArray []ConfigurationProfileInput

func (ConfigurationProfileArray) ElementType

func (ConfigurationProfileArray) ElementType() reflect.Type

func (ConfigurationProfileArray) ToConfigurationProfileArrayOutput

func (i ConfigurationProfileArray) ToConfigurationProfileArrayOutput() ConfigurationProfileArrayOutput

func (ConfigurationProfileArray) ToConfigurationProfileArrayOutputWithContext

func (i ConfigurationProfileArray) ToConfigurationProfileArrayOutputWithContext(ctx context.Context) ConfigurationProfileArrayOutput

type ConfigurationProfileArrayInput

type ConfigurationProfileArrayInput interface {
	pulumi.Input

	ToConfigurationProfileArrayOutput() ConfigurationProfileArrayOutput
	ToConfigurationProfileArrayOutputWithContext(context.Context) ConfigurationProfileArrayOutput
}

ConfigurationProfileArrayInput is an input type that accepts ConfigurationProfileArray and ConfigurationProfileArrayOutput values. You can construct a concrete instance of `ConfigurationProfileArrayInput` via:

ConfigurationProfileArray{ ConfigurationProfileArgs{...} }

type ConfigurationProfileArrayOutput

type ConfigurationProfileArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationProfileArrayOutput) ElementType

func (ConfigurationProfileArrayOutput) Index

func (ConfigurationProfileArrayOutput) ToConfigurationProfileArrayOutput

func (o ConfigurationProfileArrayOutput) ToConfigurationProfileArrayOutput() ConfigurationProfileArrayOutput

func (ConfigurationProfileArrayOutput) ToConfigurationProfileArrayOutputWithContext

func (o ConfigurationProfileArrayOutput) ToConfigurationProfileArrayOutputWithContext(ctx context.Context) ConfigurationProfileArrayOutput

type ConfigurationProfileInput

type ConfigurationProfileInput interface {
	pulumi.Input

	ToConfigurationProfileOutput() ConfigurationProfileOutput
	ToConfigurationProfileOutputWithContext(ctx context.Context) ConfigurationProfileOutput
}

type ConfigurationProfileMap

type ConfigurationProfileMap map[string]ConfigurationProfileInput

func (ConfigurationProfileMap) ElementType

func (ConfigurationProfileMap) ElementType() reflect.Type

func (ConfigurationProfileMap) ToConfigurationProfileMapOutput

func (i ConfigurationProfileMap) ToConfigurationProfileMapOutput() ConfigurationProfileMapOutput

func (ConfigurationProfileMap) ToConfigurationProfileMapOutputWithContext

func (i ConfigurationProfileMap) ToConfigurationProfileMapOutputWithContext(ctx context.Context) ConfigurationProfileMapOutput

type ConfigurationProfileMapInput

type ConfigurationProfileMapInput interface {
	pulumi.Input

	ToConfigurationProfileMapOutput() ConfigurationProfileMapOutput
	ToConfigurationProfileMapOutputWithContext(context.Context) ConfigurationProfileMapOutput
}

ConfigurationProfileMapInput is an input type that accepts ConfigurationProfileMap and ConfigurationProfileMapOutput values. You can construct a concrete instance of `ConfigurationProfileMapInput` via:

ConfigurationProfileMap{ "key": ConfigurationProfileArgs{...} }

type ConfigurationProfileMapOutput

type ConfigurationProfileMapOutput struct{ *pulumi.OutputState }

func (ConfigurationProfileMapOutput) ElementType

func (ConfigurationProfileMapOutput) MapIndex

func (ConfigurationProfileMapOutput) ToConfigurationProfileMapOutput

func (o ConfigurationProfileMapOutput) ToConfigurationProfileMapOutput() ConfigurationProfileMapOutput

func (ConfigurationProfileMapOutput) ToConfigurationProfileMapOutputWithContext

func (o ConfigurationProfileMapOutput) ToConfigurationProfileMapOutputWithContext(ctx context.Context) ConfigurationProfileMapOutput

type ConfigurationProfileOutput

type ConfigurationProfileOutput struct{ *pulumi.OutputState }

func (ConfigurationProfileOutput) ElementType

func (ConfigurationProfileOutput) ElementType() reflect.Type

func (ConfigurationProfileOutput) ToConfigurationProfileOutput

func (o ConfigurationProfileOutput) ToConfigurationProfileOutput() ConfigurationProfileOutput

func (ConfigurationProfileOutput) ToConfigurationProfileOutputWithContext

func (o ConfigurationProfileOutput) ToConfigurationProfileOutputWithContext(ctx context.Context) ConfigurationProfileOutput

type ConfigurationProfileState

type ConfigurationProfileState struct {
	// The application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the AppConfig Configuration Profile.
	Arn pulumi.StringPtrInput
	// The configuration profile ID.
	ConfigurationProfileId pulumi.StringPtrInput
	// The description of the configuration profile. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// A URI to locate the configuration. You can specify the AWS AppConfig hosted configuration store, Systems Manager (SSM) document, an SSM Parameter Store parameter, or an Amazon S3 object. For the hosted configuration store, specify `hosted`. For an SSM document, specify either the document name in the format `ssm-document://<Document_name>` or the Amazon Resource Name (ARN). For a parameter, specify either the parameter name in the format `ssm-parameter://<Parameter_name>` or the ARN. For an Amazon S3 object, specify the URI in the following format: `s3://<bucket>/<objectKey>`.
	LocationUri pulumi.StringPtrInput
	// The name for the configuration profile. Must be between 1 and 64 characters in length.
	Name pulumi.StringPtrInput
	// The ARN of an IAM role with permission to access the configuration at the specified `locationUri`. A retrieval role ARN is not required for configurations stored in the AWS AppConfig `hosted` configuration store. It is required for all other sources that store your configuration.
	RetrievalRoleArn pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
	// A set of methods for validating the configuration. Maximum of 2. See Validator below for more details.
	Validators ConfigurationProfileValidatorArrayInput
}

func (ConfigurationProfileState) ElementType

func (ConfigurationProfileState) ElementType() reflect.Type

type ConfigurationProfileValidator

type ConfigurationProfileValidator struct {
	// Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS Lambda function.
	Content *string `pulumi:"content"`
	// The type of validator. Valid values: `JSON_SCHEMA` and `LAMBDA`.
	Type string `pulumi:"type"`
}

type ConfigurationProfileValidatorArgs

type ConfigurationProfileValidatorArgs struct {
	// Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS Lambda function.
	Content pulumi.StringPtrInput `pulumi:"content"`
	// The type of validator. Valid values: `JSON_SCHEMA` and `LAMBDA`.
	Type pulumi.StringInput `pulumi:"type"`
}

func (ConfigurationProfileValidatorArgs) ElementType

func (ConfigurationProfileValidatorArgs) ToConfigurationProfileValidatorOutput

func (i ConfigurationProfileValidatorArgs) ToConfigurationProfileValidatorOutput() ConfigurationProfileValidatorOutput

func (ConfigurationProfileValidatorArgs) ToConfigurationProfileValidatorOutputWithContext

func (i ConfigurationProfileValidatorArgs) ToConfigurationProfileValidatorOutputWithContext(ctx context.Context) ConfigurationProfileValidatorOutput

type ConfigurationProfileValidatorArray

type ConfigurationProfileValidatorArray []ConfigurationProfileValidatorInput

func (ConfigurationProfileValidatorArray) ElementType

func (ConfigurationProfileValidatorArray) ToConfigurationProfileValidatorArrayOutput

func (i ConfigurationProfileValidatorArray) ToConfigurationProfileValidatorArrayOutput() ConfigurationProfileValidatorArrayOutput

func (ConfigurationProfileValidatorArray) ToConfigurationProfileValidatorArrayOutputWithContext

func (i ConfigurationProfileValidatorArray) ToConfigurationProfileValidatorArrayOutputWithContext(ctx context.Context) ConfigurationProfileValidatorArrayOutput

type ConfigurationProfileValidatorArrayInput

type ConfigurationProfileValidatorArrayInput interface {
	pulumi.Input

	ToConfigurationProfileValidatorArrayOutput() ConfigurationProfileValidatorArrayOutput
	ToConfigurationProfileValidatorArrayOutputWithContext(context.Context) ConfigurationProfileValidatorArrayOutput
}

ConfigurationProfileValidatorArrayInput is an input type that accepts ConfigurationProfileValidatorArray and ConfigurationProfileValidatorArrayOutput values. You can construct a concrete instance of `ConfigurationProfileValidatorArrayInput` via:

ConfigurationProfileValidatorArray{ ConfigurationProfileValidatorArgs{...} }

type ConfigurationProfileValidatorArrayOutput

type ConfigurationProfileValidatorArrayOutput struct{ *pulumi.OutputState }

func (ConfigurationProfileValidatorArrayOutput) ElementType

func (ConfigurationProfileValidatorArrayOutput) Index

func (ConfigurationProfileValidatorArrayOutput) ToConfigurationProfileValidatorArrayOutput

func (o ConfigurationProfileValidatorArrayOutput) ToConfigurationProfileValidatorArrayOutput() ConfigurationProfileValidatorArrayOutput

func (ConfigurationProfileValidatorArrayOutput) ToConfigurationProfileValidatorArrayOutputWithContext

func (o ConfigurationProfileValidatorArrayOutput) ToConfigurationProfileValidatorArrayOutputWithContext(ctx context.Context) ConfigurationProfileValidatorArrayOutput

type ConfigurationProfileValidatorInput

type ConfigurationProfileValidatorInput interface {
	pulumi.Input

	ToConfigurationProfileValidatorOutput() ConfigurationProfileValidatorOutput
	ToConfigurationProfileValidatorOutputWithContext(context.Context) ConfigurationProfileValidatorOutput
}

ConfigurationProfileValidatorInput is an input type that accepts ConfigurationProfileValidatorArgs and ConfigurationProfileValidatorOutput values. You can construct a concrete instance of `ConfigurationProfileValidatorInput` via:

ConfigurationProfileValidatorArgs{...}

type ConfigurationProfileValidatorOutput

type ConfigurationProfileValidatorOutput struct{ *pulumi.OutputState }

func (ConfigurationProfileValidatorOutput) Content

Either the JSON Schema content or the Amazon Resource Name (ARN) of an AWS Lambda function.

func (ConfigurationProfileValidatorOutput) ElementType

func (ConfigurationProfileValidatorOutput) ToConfigurationProfileValidatorOutput

func (o ConfigurationProfileValidatorOutput) ToConfigurationProfileValidatorOutput() ConfigurationProfileValidatorOutput

func (ConfigurationProfileValidatorOutput) ToConfigurationProfileValidatorOutputWithContext

func (o ConfigurationProfileValidatorOutput) ToConfigurationProfileValidatorOutputWithContext(ctx context.Context) ConfigurationProfileValidatorOutput

func (ConfigurationProfileValidatorOutput) Type

The type of validator. Valid values: `JSON_SCHEMA` and `LAMBDA`.

type Deployment added in v4.14.0

type Deployment struct {
	pulumi.CustomResourceState

	// The application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The Amazon Resource Name (ARN) of the AppConfig Deployment.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The configuration profile ID. Must be between 4 and 7 characters in length.
	ConfigurationProfileId pulumi.StringOutput `pulumi:"configurationProfileId"`
	// The configuration version to deploy. Can be at most 1024 characters.
	ConfigurationVersion pulumi.StringOutput `pulumi:"configurationVersion"`
	// The deployment number.
	DeploymentNumber pulumi.IntOutput `pulumi:"deploymentNumber"`
	// The deployment strategy ID or name of a predefined deployment strategy. See [Predefined Deployment Strategies](https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html#appconfig-creating-deployment-strategy-predefined) for more details.
	DeploymentStrategyId pulumi.StringOutput `pulumi:"deploymentStrategyId"`
	// The description of the deployment. Can be at most 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The environment ID. Must be between 4 and 7 characters in length.
	EnvironmentId pulumi.StringOutput `pulumi:"environmentId"`
	// The state of the deployment.
	State pulumi.StringOutput `pulumi:"state"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an AppConfig Deployment resource for an `appconfig.Application` resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appconfig.NewDeployment(ctx, "example", &appconfig.DeploymentArgs{
			ApplicationId:          pulumi.Any(aws_appconfig_application.Example.Id),
			ConfigurationProfileId: pulumi.Any(aws_appconfig_configuration_profile.Example.Configuration_profile_id),
			ConfigurationVersion:   pulumi.Any(aws_appconfig_hosted_configuration_version.Example.Version_number),
			DeploymentStrategyId:   pulumi.Any(aws_appconfig_deployment_strategy.Example.Id),
			Description:            pulumi.String("My example deployment"),
			EnvironmentId:          pulumi.Any(aws_appconfig_environment.Example.Environment_id),
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Deployment"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppConfig Deployments can be imported by using the application ID, environment ID, and deployment number separated by a slash (`/`), e.g.,

```sh

$ pulumi import aws:appconfig/deployment:Deployment example 71abcde/11xxxxx/1

```

func GetDeployment added in v4.14.0

func GetDeployment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentState, opts ...pulumi.ResourceOption) (*Deployment, error)

GetDeployment gets an existing Deployment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeployment added in v4.14.0

func NewDeployment(ctx *pulumi.Context,
	name string, args *DeploymentArgs, opts ...pulumi.ResourceOption) (*Deployment, error)

NewDeployment registers a new resource with the given unique name, arguments, and options.

func (*Deployment) ElementType added in v4.14.0

func (*Deployment) ElementType() reflect.Type

func (*Deployment) ToDeploymentOutput added in v4.14.0

func (i *Deployment) ToDeploymentOutput() DeploymentOutput

func (*Deployment) ToDeploymentOutputWithContext added in v4.14.0

func (i *Deployment) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

type DeploymentArgs added in v4.14.0

type DeploymentArgs struct {
	// The application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringInput
	// The configuration profile ID. Must be between 4 and 7 characters in length.
	ConfigurationProfileId pulumi.StringInput
	// The configuration version to deploy. Can be at most 1024 characters.
	ConfigurationVersion pulumi.StringInput
	// The deployment strategy ID or name of a predefined deployment strategy. See [Predefined Deployment Strategies](https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html#appconfig-creating-deployment-strategy-predefined) for more details.
	DeploymentStrategyId pulumi.StringInput
	// The description of the deployment. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// The environment ID. Must be between 4 and 7 characters in length.
	EnvironmentId pulumi.StringInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Deployment resource.

func (DeploymentArgs) ElementType added in v4.14.0

func (DeploymentArgs) ElementType() reflect.Type

type DeploymentArray added in v4.14.0

type DeploymentArray []DeploymentInput

func (DeploymentArray) ElementType added in v4.14.0

func (DeploymentArray) ElementType() reflect.Type

func (DeploymentArray) ToDeploymentArrayOutput added in v4.14.0

func (i DeploymentArray) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArray) ToDeploymentArrayOutputWithContext added in v4.14.0

func (i DeploymentArray) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

type DeploymentArrayInput added in v4.14.0

type DeploymentArrayInput interface {
	pulumi.Input

	ToDeploymentArrayOutput() DeploymentArrayOutput
	ToDeploymentArrayOutputWithContext(context.Context) DeploymentArrayOutput
}

DeploymentArrayInput is an input type that accepts DeploymentArray and DeploymentArrayOutput values. You can construct a concrete instance of `DeploymentArrayInput` via:

DeploymentArray{ DeploymentArgs{...} }

type DeploymentArrayOutput added in v4.14.0

type DeploymentArrayOutput struct{ *pulumi.OutputState }

func (DeploymentArrayOutput) ElementType added in v4.14.0

func (DeploymentArrayOutput) ElementType() reflect.Type

func (DeploymentArrayOutput) Index added in v4.14.0

func (DeploymentArrayOutput) ToDeploymentArrayOutput added in v4.14.0

func (o DeploymentArrayOutput) ToDeploymentArrayOutput() DeploymentArrayOutput

func (DeploymentArrayOutput) ToDeploymentArrayOutputWithContext added in v4.14.0

func (o DeploymentArrayOutput) ToDeploymentArrayOutputWithContext(ctx context.Context) DeploymentArrayOutput

type DeploymentInput added in v4.14.0

type DeploymentInput interface {
	pulumi.Input

	ToDeploymentOutput() DeploymentOutput
	ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput
}

type DeploymentMap added in v4.14.0

type DeploymentMap map[string]DeploymentInput

func (DeploymentMap) ElementType added in v4.14.0

func (DeploymentMap) ElementType() reflect.Type

func (DeploymentMap) ToDeploymentMapOutput added in v4.14.0

func (i DeploymentMap) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMap) ToDeploymentMapOutputWithContext added in v4.14.0

func (i DeploymentMap) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

type DeploymentMapInput added in v4.14.0

type DeploymentMapInput interface {
	pulumi.Input

	ToDeploymentMapOutput() DeploymentMapOutput
	ToDeploymentMapOutputWithContext(context.Context) DeploymentMapOutput
}

DeploymentMapInput is an input type that accepts DeploymentMap and DeploymentMapOutput values. You can construct a concrete instance of `DeploymentMapInput` via:

DeploymentMap{ "key": DeploymentArgs{...} }

type DeploymentMapOutput added in v4.14.0

type DeploymentMapOutput struct{ *pulumi.OutputState }

func (DeploymentMapOutput) ElementType added in v4.14.0

func (DeploymentMapOutput) ElementType() reflect.Type

func (DeploymentMapOutput) MapIndex added in v4.14.0

func (DeploymentMapOutput) ToDeploymentMapOutput added in v4.14.0

func (o DeploymentMapOutput) ToDeploymentMapOutput() DeploymentMapOutput

func (DeploymentMapOutput) ToDeploymentMapOutputWithContext added in v4.14.0

func (o DeploymentMapOutput) ToDeploymentMapOutputWithContext(ctx context.Context) DeploymentMapOutput

type DeploymentOutput added in v4.14.0

type DeploymentOutput struct{ *pulumi.OutputState }

func (DeploymentOutput) ElementType added in v4.14.0

func (DeploymentOutput) ElementType() reflect.Type

func (DeploymentOutput) ToDeploymentOutput added in v4.14.0

func (o DeploymentOutput) ToDeploymentOutput() DeploymentOutput

func (DeploymentOutput) ToDeploymentOutputWithContext added in v4.14.0

func (o DeploymentOutput) ToDeploymentOutputWithContext(ctx context.Context) DeploymentOutput

type DeploymentState added in v4.14.0

type DeploymentState struct {
	// The application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the AppConfig Deployment.
	Arn pulumi.StringPtrInput
	// The configuration profile ID. Must be between 4 and 7 characters in length.
	ConfigurationProfileId pulumi.StringPtrInput
	// The configuration version to deploy. Can be at most 1024 characters.
	ConfigurationVersion pulumi.StringPtrInput
	// The deployment number.
	DeploymentNumber pulumi.IntPtrInput
	// The deployment strategy ID or name of a predefined deployment strategy. See [Predefined Deployment Strategies](https://docs.aws.amazon.com/appconfig/latest/userguide/appconfig-creating-deployment-strategy.html#appconfig-creating-deployment-strategy-predefined) for more details.
	DeploymentStrategyId pulumi.StringPtrInput
	// The description of the deployment. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// The environment ID. Must be between 4 and 7 characters in length.
	EnvironmentId pulumi.StringPtrInput
	// The state of the deployment.
	State pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (DeploymentState) ElementType added in v4.14.0

func (DeploymentState) ElementType() reflect.Type

type DeploymentStrategy

type DeploymentStrategy struct {
	pulumi.CustomResourceState

	// The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
	DeploymentDurationInMinutes pulumi.IntOutput `pulumi:"deploymentDurationInMinutes"`
	// A description of the deployment strategy. Can be at most 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.
	FinalBakeTimeInMinutes pulumi.IntPtrOutput `pulumi:"finalBakeTimeInMinutes"`
	// The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
	GrowthFactor pulumi.Float64Output `pulumi:"growthFactor"`
	// The algorithm used to define how percentage grows over time. Valid value: `LINEAR` and `EXPONENTIAL`. Defaults to `LINEAR`.
	GrowthType pulumi.StringPtrOutput `pulumi:"growthType"`
	// A name for the deployment strategy. Must be between 1 and 64 characters in length.
	Name pulumi.StringOutput `pulumi:"name"`
	// Where to save the deployment strategy. Valid values: `NONE` and `SSM_DOCUMENT`.
	ReplicateTo pulumi.StringOutput `pulumi:"replicateTo"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an AppConfig Deployment Strategy resource.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := appconfig.NewDeploymentStrategy(ctx, "example", &appconfig.DeploymentStrategyArgs{
			DeploymentDurationInMinutes: pulumi.Int(3),
			Description:                 pulumi.String("Example Deployment Strategy"),
			FinalBakeTimeInMinutes:      pulumi.Int(4),
			GrowthFactor:                pulumi.Float64(10),
			GrowthType:                  pulumi.String("LINEAR"),
			ReplicateTo:                 pulumi.String("NONE"),
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Deployment Strategy"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppConfig Deployment Strategies can be imported by using their deployment strategy ID, e.g.,

```sh

$ pulumi import aws:appconfig/deploymentStrategy:DeploymentStrategy example 11xxxxx

```

func GetDeploymentStrategy

func GetDeploymentStrategy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DeploymentStrategyState, opts ...pulumi.ResourceOption) (*DeploymentStrategy, error)

GetDeploymentStrategy gets an existing DeploymentStrategy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDeploymentStrategy

func NewDeploymentStrategy(ctx *pulumi.Context,
	name string, args *DeploymentStrategyArgs, opts ...pulumi.ResourceOption) (*DeploymentStrategy, error)

NewDeploymentStrategy registers a new resource with the given unique name, arguments, and options.

func (*DeploymentStrategy) ElementType

func (*DeploymentStrategy) ElementType() reflect.Type

func (*DeploymentStrategy) ToDeploymentStrategyOutput

func (i *DeploymentStrategy) ToDeploymentStrategyOutput() DeploymentStrategyOutput

func (*DeploymentStrategy) ToDeploymentStrategyOutputWithContext

func (i *DeploymentStrategy) ToDeploymentStrategyOutputWithContext(ctx context.Context) DeploymentStrategyOutput

type DeploymentStrategyArgs

type DeploymentStrategyArgs struct {
	// Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
	DeploymentDurationInMinutes pulumi.IntInput
	// A description of the deployment strategy. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.
	FinalBakeTimeInMinutes pulumi.IntPtrInput
	// The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
	GrowthFactor pulumi.Float64Input
	// The algorithm used to define how percentage grows over time. Valid value: `LINEAR` and `EXPONENTIAL`. Defaults to `LINEAR`.
	GrowthType pulumi.StringPtrInput
	// A name for the deployment strategy. Must be between 1 and 64 characters in length.
	Name pulumi.StringPtrInput
	// Where to save the deployment strategy. Valid values: `NONE` and `SSM_DOCUMENT`.
	ReplicateTo pulumi.StringInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a DeploymentStrategy resource.

func (DeploymentStrategyArgs) ElementType

func (DeploymentStrategyArgs) ElementType() reflect.Type

type DeploymentStrategyArray

type DeploymentStrategyArray []DeploymentStrategyInput

func (DeploymentStrategyArray) ElementType

func (DeploymentStrategyArray) ElementType() reflect.Type

func (DeploymentStrategyArray) ToDeploymentStrategyArrayOutput

func (i DeploymentStrategyArray) ToDeploymentStrategyArrayOutput() DeploymentStrategyArrayOutput

func (DeploymentStrategyArray) ToDeploymentStrategyArrayOutputWithContext

func (i DeploymentStrategyArray) ToDeploymentStrategyArrayOutputWithContext(ctx context.Context) DeploymentStrategyArrayOutput

type DeploymentStrategyArrayInput

type DeploymentStrategyArrayInput interface {
	pulumi.Input

	ToDeploymentStrategyArrayOutput() DeploymentStrategyArrayOutput
	ToDeploymentStrategyArrayOutputWithContext(context.Context) DeploymentStrategyArrayOutput
}

DeploymentStrategyArrayInput is an input type that accepts DeploymentStrategyArray and DeploymentStrategyArrayOutput values. You can construct a concrete instance of `DeploymentStrategyArrayInput` via:

DeploymentStrategyArray{ DeploymentStrategyArgs{...} }

type DeploymentStrategyArrayOutput

type DeploymentStrategyArrayOutput struct{ *pulumi.OutputState }

func (DeploymentStrategyArrayOutput) ElementType

func (DeploymentStrategyArrayOutput) Index

func (DeploymentStrategyArrayOutput) ToDeploymentStrategyArrayOutput

func (o DeploymentStrategyArrayOutput) ToDeploymentStrategyArrayOutput() DeploymentStrategyArrayOutput

func (DeploymentStrategyArrayOutput) ToDeploymentStrategyArrayOutputWithContext

func (o DeploymentStrategyArrayOutput) ToDeploymentStrategyArrayOutputWithContext(ctx context.Context) DeploymentStrategyArrayOutput

type DeploymentStrategyInput

type DeploymentStrategyInput interface {
	pulumi.Input

	ToDeploymentStrategyOutput() DeploymentStrategyOutput
	ToDeploymentStrategyOutputWithContext(ctx context.Context) DeploymentStrategyOutput
}

type DeploymentStrategyMap

type DeploymentStrategyMap map[string]DeploymentStrategyInput

func (DeploymentStrategyMap) ElementType

func (DeploymentStrategyMap) ElementType() reflect.Type

func (DeploymentStrategyMap) ToDeploymentStrategyMapOutput

func (i DeploymentStrategyMap) ToDeploymentStrategyMapOutput() DeploymentStrategyMapOutput

func (DeploymentStrategyMap) ToDeploymentStrategyMapOutputWithContext

func (i DeploymentStrategyMap) ToDeploymentStrategyMapOutputWithContext(ctx context.Context) DeploymentStrategyMapOutput

type DeploymentStrategyMapInput

type DeploymentStrategyMapInput interface {
	pulumi.Input

	ToDeploymentStrategyMapOutput() DeploymentStrategyMapOutput
	ToDeploymentStrategyMapOutputWithContext(context.Context) DeploymentStrategyMapOutput
}

DeploymentStrategyMapInput is an input type that accepts DeploymentStrategyMap and DeploymentStrategyMapOutput values. You can construct a concrete instance of `DeploymentStrategyMapInput` via:

DeploymentStrategyMap{ "key": DeploymentStrategyArgs{...} }

type DeploymentStrategyMapOutput

type DeploymentStrategyMapOutput struct{ *pulumi.OutputState }

func (DeploymentStrategyMapOutput) ElementType

func (DeploymentStrategyMapOutput) MapIndex

func (DeploymentStrategyMapOutput) ToDeploymentStrategyMapOutput

func (o DeploymentStrategyMapOutput) ToDeploymentStrategyMapOutput() DeploymentStrategyMapOutput

func (DeploymentStrategyMapOutput) ToDeploymentStrategyMapOutputWithContext

func (o DeploymentStrategyMapOutput) ToDeploymentStrategyMapOutputWithContext(ctx context.Context) DeploymentStrategyMapOutput

type DeploymentStrategyOutput

type DeploymentStrategyOutput struct{ *pulumi.OutputState }

func (DeploymentStrategyOutput) ElementType

func (DeploymentStrategyOutput) ElementType() reflect.Type

func (DeploymentStrategyOutput) ToDeploymentStrategyOutput

func (o DeploymentStrategyOutput) ToDeploymentStrategyOutput() DeploymentStrategyOutput

func (DeploymentStrategyOutput) ToDeploymentStrategyOutputWithContext

func (o DeploymentStrategyOutput) ToDeploymentStrategyOutputWithContext(ctx context.Context) DeploymentStrategyOutput

type DeploymentStrategyState

type DeploymentStrategyState struct {
	// The Amazon Resource Name (ARN) of the AppConfig Deployment Strategy.
	Arn pulumi.StringPtrInput
	// Total amount of time for a deployment to last. Minimum value of 0, maximum value of 1440.
	DeploymentDurationInMinutes pulumi.IntPtrInput
	// A description of the deployment strategy. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// The amount of time AWS AppConfig monitors for alarms before considering the deployment to be complete and no longer eligible for automatic roll back. Minimum value of 0, maximum value of 1440.
	FinalBakeTimeInMinutes pulumi.IntPtrInput
	// The percentage of targets to receive a deployed configuration during each interval. Minimum value of 1.0, maximum value of 100.0.
	GrowthFactor pulumi.Float64PtrInput
	// The algorithm used to define how percentage grows over time. Valid value: `LINEAR` and `EXPONENTIAL`. Defaults to `LINEAR`.
	GrowthType pulumi.StringPtrInput
	// A name for the deployment strategy. Must be between 1 and 64 characters in length.
	Name pulumi.StringPtrInput
	// Where to save the deployment strategy. Valid values: `NONE` and `SSM_DOCUMENT`.
	ReplicateTo pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (DeploymentStrategyState) ElementType

func (DeploymentStrategyState) ElementType() reflect.Type

type Environment

type Environment struct {
	pulumi.CustomResourceState

	// The AppConfig application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The Amazon Resource Name (ARN) of the AppConfig Environment.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The description of the environment. Can be at most 1024 characters.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The AppConfig environment ID.
	EnvironmentId pulumi.StringOutput `pulumi:"environmentId"`
	// Set of Amazon CloudWatch alarms to monitor during the deployment process. Maximum of 5. See Monitor below for more details.
	Monitors EnvironmentMonitorArrayOutput `pulumi:"monitors"`
	// The name for the environment. Must be between 1 and 64 characters in length.
	Name  pulumi.StringOutput `pulumi:"name"`
	State pulumi.StringOutput `pulumi:"state"`
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapOutput `pulumi:"tagsAll"`
}

Provides an AppConfig Environment resource for an `appconfig.Application` resource. One or more environments can be defined for an application.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleApplication, err := appconfig.NewApplication(ctx, "exampleApplication", &appconfig.ApplicationArgs{
			Description: pulumi.String("Example AppConfig Application"),
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Application"),
			},
		})
		if err != nil {
			return err
		}
		_, err = appconfig.NewEnvironment(ctx, "exampleEnvironment", &appconfig.EnvironmentArgs{
			Description:   pulumi.String("Example AppConfig Environment"),
			ApplicationId: exampleApplication.ID(),
			Monitors: appconfig.EnvironmentMonitorArray{
				&appconfig.EnvironmentMonitorArgs{
					AlarmArn:     pulumi.Any(aws_cloudwatch_metric_alarm.Example.Arn),
					AlarmRoleArn: pulumi.Any(aws_iam_role.Example.Arn),
				},
			},
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Environment"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppConfig Environments can be imported by using the environment ID and application ID separated by a colon (`:`), e.g.,

```sh

$ pulumi import aws:appconfig/environment:Environment example 71abcde:11xxxxx

```

func GetEnvironment

func GetEnvironment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)

GetEnvironment gets an existing Environment resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewEnvironment

func NewEnvironment(ctx *pulumi.Context,
	name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)

NewEnvironment registers a new resource with the given unique name, arguments, and options.

func (*Environment) ElementType

func (*Environment) ElementType() reflect.Type

func (*Environment) ToEnvironmentOutput

func (i *Environment) ToEnvironmentOutput() EnvironmentOutput

func (*Environment) ToEnvironmentOutputWithContext

func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

type EnvironmentArgs

type EnvironmentArgs struct {
	// The AppConfig application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringInput
	// The description of the environment. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// Set of Amazon CloudWatch alarms to monitor during the deployment process. Maximum of 5. See Monitor below for more details.
	Monitors EnvironmentMonitorArrayInput
	// The name for the environment. Must be between 1 and 64 characters in length.
	Name pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Environment resource.

func (EnvironmentArgs) ElementType

func (EnvironmentArgs) ElementType() reflect.Type

type EnvironmentArray

type EnvironmentArray []EnvironmentInput

func (EnvironmentArray) ElementType

func (EnvironmentArray) ElementType() reflect.Type

func (EnvironmentArray) ToEnvironmentArrayOutput

func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArray) ToEnvironmentArrayOutputWithContext

func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentArrayInput

type EnvironmentArrayInput interface {
	pulumi.Input

	ToEnvironmentArrayOutput() EnvironmentArrayOutput
	ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput
}

EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:

EnvironmentArray{ EnvironmentArgs{...} }

type EnvironmentArrayOutput

type EnvironmentArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentArrayOutput) ElementType

func (EnvironmentArrayOutput) ElementType() reflect.Type

func (EnvironmentArrayOutput) Index

func (EnvironmentArrayOutput) ToEnvironmentArrayOutput

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput

func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext

func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput

type EnvironmentInput

type EnvironmentInput interface {
	pulumi.Input

	ToEnvironmentOutput() EnvironmentOutput
	ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
}

type EnvironmentMap

type EnvironmentMap map[string]EnvironmentInput

func (EnvironmentMap) ElementType

func (EnvironmentMap) ElementType() reflect.Type

func (EnvironmentMap) ToEnvironmentMapOutput

func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMap) ToEnvironmentMapOutputWithContext

func (i EnvironmentMap) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput

type EnvironmentMapInput

type EnvironmentMapInput interface {
	pulumi.Input

	ToEnvironmentMapOutput() EnvironmentMapOutput
	ToEnvironmentMapOutputWithContext(context.Context) EnvironmentMapOutput
}

EnvironmentMapInput is an input type that accepts EnvironmentMap and EnvironmentMapOutput values. You can construct a concrete instance of `EnvironmentMapInput` via:

EnvironmentMap{ "key": EnvironmentArgs{...} }

type EnvironmentMapOutput

type EnvironmentMapOutput struct{ *pulumi.OutputState }

func (EnvironmentMapOutput) ElementType

func (EnvironmentMapOutput) ElementType() reflect.Type

func (EnvironmentMapOutput) MapIndex

func (EnvironmentMapOutput) ToEnvironmentMapOutput

func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput

func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext

func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput

type EnvironmentMonitor

type EnvironmentMonitor struct {
	// ARN of the Amazon CloudWatch alarm.
	AlarmArn string `pulumi:"alarmArn"`
	// ARN of an IAM role for AWS AppConfig to monitor `alarmArn`.
	AlarmRoleArn *string `pulumi:"alarmRoleArn"`
}

type EnvironmentMonitorArgs

type EnvironmentMonitorArgs struct {
	// ARN of the Amazon CloudWatch alarm.
	AlarmArn pulumi.StringInput `pulumi:"alarmArn"`
	// ARN of an IAM role for AWS AppConfig to monitor `alarmArn`.
	AlarmRoleArn pulumi.StringPtrInput `pulumi:"alarmRoleArn"`
}

func (EnvironmentMonitorArgs) ElementType

func (EnvironmentMonitorArgs) ElementType() reflect.Type

func (EnvironmentMonitorArgs) ToEnvironmentMonitorOutput

func (i EnvironmentMonitorArgs) ToEnvironmentMonitorOutput() EnvironmentMonitorOutput

func (EnvironmentMonitorArgs) ToEnvironmentMonitorOutputWithContext

func (i EnvironmentMonitorArgs) ToEnvironmentMonitorOutputWithContext(ctx context.Context) EnvironmentMonitorOutput

type EnvironmentMonitorArray

type EnvironmentMonitorArray []EnvironmentMonitorInput

func (EnvironmentMonitorArray) ElementType

func (EnvironmentMonitorArray) ElementType() reflect.Type

func (EnvironmentMonitorArray) ToEnvironmentMonitorArrayOutput

func (i EnvironmentMonitorArray) ToEnvironmentMonitorArrayOutput() EnvironmentMonitorArrayOutput

func (EnvironmentMonitorArray) ToEnvironmentMonitorArrayOutputWithContext

func (i EnvironmentMonitorArray) ToEnvironmentMonitorArrayOutputWithContext(ctx context.Context) EnvironmentMonitorArrayOutput

type EnvironmentMonitorArrayInput

type EnvironmentMonitorArrayInput interface {
	pulumi.Input

	ToEnvironmentMonitorArrayOutput() EnvironmentMonitorArrayOutput
	ToEnvironmentMonitorArrayOutputWithContext(context.Context) EnvironmentMonitorArrayOutput
}

EnvironmentMonitorArrayInput is an input type that accepts EnvironmentMonitorArray and EnvironmentMonitorArrayOutput values. You can construct a concrete instance of `EnvironmentMonitorArrayInput` via:

EnvironmentMonitorArray{ EnvironmentMonitorArgs{...} }

type EnvironmentMonitorArrayOutput

type EnvironmentMonitorArrayOutput struct{ *pulumi.OutputState }

func (EnvironmentMonitorArrayOutput) ElementType

func (EnvironmentMonitorArrayOutput) Index

func (EnvironmentMonitorArrayOutput) ToEnvironmentMonitorArrayOutput

func (o EnvironmentMonitorArrayOutput) ToEnvironmentMonitorArrayOutput() EnvironmentMonitorArrayOutput

func (EnvironmentMonitorArrayOutput) ToEnvironmentMonitorArrayOutputWithContext

func (o EnvironmentMonitorArrayOutput) ToEnvironmentMonitorArrayOutputWithContext(ctx context.Context) EnvironmentMonitorArrayOutput

type EnvironmentMonitorInput

type EnvironmentMonitorInput interface {
	pulumi.Input

	ToEnvironmentMonitorOutput() EnvironmentMonitorOutput
	ToEnvironmentMonitorOutputWithContext(context.Context) EnvironmentMonitorOutput
}

EnvironmentMonitorInput is an input type that accepts EnvironmentMonitorArgs and EnvironmentMonitorOutput values. You can construct a concrete instance of `EnvironmentMonitorInput` via:

EnvironmentMonitorArgs{...}

type EnvironmentMonitorOutput

type EnvironmentMonitorOutput struct{ *pulumi.OutputState }

func (EnvironmentMonitorOutput) AlarmArn

ARN of the Amazon CloudWatch alarm.

func (EnvironmentMonitorOutput) AlarmRoleArn

ARN of an IAM role for AWS AppConfig to monitor `alarmArn`.

func (EnvironmentMonitorOutput) ElementType

func (EnvironmentMonitorOutput) ElementType() reflect.Type

func (EnvironmentMonitorOutput) ToEnvironmentMonitorOutput

func (o EnvironmentMonitorOutput) ToEnvironmentMonitorOutput() EnvironmentMonitorOutput

func (EnvironmentMonitorOutput) ToEnvironmentMonitorOutputWithContext

func (o EnvironmentMonitorOutput) ToEnvironmentMonitorOutputWithContext(ctx context.Context) EnvironmentMonitorOutput

type EnvironmentOutput

type EnvironmentOutput struct{ *pulumi.OutputState }

func (EnvironmentOutput) ElementType

func (EnvironmentOutput) ElementType() reflect.Type

func (EnvironmentOutput) ToEnvironmentOutput

func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput

func (EnvironmentOutput) ToEnvironmentOutputWithContext

func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput

type EnvironmentState

type EnvironmentState struct {
	// The AppConfig application ID. Must be between 4 and 7 characters in length.
	ApplicationId pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the AppConfig Environment.
	Arn pulumi.StringPtrInput
	// The description of the environment. Can be at most 1024 characters.
	Description pulumi.StringPtrInput
	// The AppConfig environment ID.
	EnvironmentId pulumi.StringPtrInput
	// Set of Amazon CloudWatch alarms to monitor during the deployment process. Maximum of 5. See Monitor below for more details.
	Monitors EnvironmentMonitorArrayInput
	// The name for the environment. Must be between 1 and 64 characters in length.
	Name  pulumi.StringPtrInput
	State pulumi.StringPtrInput
	// A map of tags to assign to the resource. If configured with a provider `defaultTags` configuration block present, tags with matching keys will overwrite those defined at the provider-level.
	Tags pulumi.StringMapInput
	// A map of tags assigned to the resource, including those inherited from the provider `defaultTags` configuration block.
	TagsAll pulumi.StringMapInput
}

func (EnvironmentState) ElementType

func (EnvironmentState) ElementType() reflect.Type

type HostedConfigurationVersion

type HostedConfigurationVersion struct {
	pulumi.CustomResourceState

	// The application ID.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The Amazon Resource Name (ARN) of the AppConfig  hosted configuration version.
	Arn pulumi.StringOutput `pulumi:"arn"`
	// The configuration profile ID.
	ConfigurationProfileId pulumi.StringOutput `pulumi:"configurationProfileId"`
	// The content of the configuration or the configuration data.
	Content pulumi.StringOutput `pulumi:"content"`
	// A standard MIME type describing the format of the configuration content. For more information, see [Content-Type](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType pulumi.StringOutput `pulumi:"contentType"`
	// A description of the configuration.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The version number of the hosted configuration.
	VersionNumber pulumi.IntOutput `pulumi:"versionNumber"`
}

Provides an AppConfig Hosted Configuration Version resource.

## Example Usage

```go package main

import (

"encoding/json"

"github.com/pulumi/pulumi-aws/sdk/v4/go/aws/appconfig"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		tmpJSON0, err := json.Marshal(map[string]interface{}{
			"foo": "bar",
		})
		if err != nil {
			return err
		}
		json0 := string(tmpJSON0)
		_, err := appconfig.NewHostedConfigurationVersion(ctx, "example", &appconfig.HostedConfigurationVersionArgs{
			ApplicationId:          pulumi.Any(aws_appconfig_application.Example.Id),
			ConfigurationProfileId: pulumi.Any(aws_appconfig_configuration_profile.Example.Configuration_profile_id),
			Description:            pulumi.String("Example Hosted Configuration Version"),
			ContentType:            pulumi.String("application/json"),
			Content:                pulumi.String(json0),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

AppConfig Hosted Configuration Versions can be imported by using the application ID, configuration profile ID, and version number separated by a slash (`/`), e.g.,

```sh

$ pulumi import aws:appconfig/hostedConfigurationVersion:HostedConfigurationVersion example 71abcde/11xxxxx/2

```

func GetHostedConfigurationVersion

func GetHostedConfigurationVersion(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HostedConfigurationVersionState, opts ...pulumi.ResourceOption) (*HostedConfigurationVersion, error)

GetHostedConfigurationVersion gets an existing HostedConfigurationVersion resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewHostedConfigurationVersion

func NewHostedConfigurationVersion(ctx *pulumi.Context,
	name string, args *HostedConfigurationVersionArgs, opts ...pulumi.ResourceOption) (*HostedConfigurationVersion, error)

NewHostedConfigurationVersion registers a new resource with the given unique name, arguments, and options.

func (*HostedConfigurationVersion) ElementType

func (*HostedConfigurationVersion) ElementType() reflect.Type

func (*HostedConfigurationVersion) ToHostedConfigurationVersionOutput

func (i *HostedConfigurationVersion) ToHostedConfigurationVersionOutput() HostedConfigurationVersionOutput

func (*HostedConfigurationVersion) ToHostedConfigurationVersionOutputWithContext

func (i *HostedConfigurationVersion) ToHostedConfigurationVersionOutputWithContext(ctx context.Context) HostedConfigurationVersionOutput

type HostedConfigurationVersionArgs

type HostedConfigurationVersionArgs struct {
	// The application ID.
	ApplicationId pulumi.StringInput
	// The configuration profile ID.
	ConfigurationProfileId pulumi.StringInput
	// The content of the configuration or the configuration data.
	Content pulumi.StringInput
	// A standard MIME type describing the format of the configuration content. For more information, see [Content-Type](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType pulumi.StringInput
	// A description of the configuration.
	Description pulumi.StringPtrInput
}

The set of arguments for constructing a HostedConfigurationVersion resource.

func (HostedConfigurationVersionArgs) ElementType

type HostedConfigurationVersionArray

type HostedConfigurationVersionArray []HostedConfigurationVersionInput

func (HostedConfigurationVersionArray) ElementType

func (HostedConfigurationVersionArray) ToHostedConfigurationVersionArrayOutput

func (i HostedConfigurationVersionArray) ToHostedConfigurationVersionArrayOutput() HostedConfigurationVersionArrayOutput

func (HostedConfigurationVersionArray) ToHostedConfigurationVersionArrayOutputWithContext

func (i HostedConfigurationVersionArray) ToHostedConfigurationVersionArrayOutputWithContext(ctx context.Context) HostedConfigurationVersionArrayOutput

type HostedConfigurationVersionArrayInput

type HostedConfigurationVersionArrayInput interface {
	pulumi.Input

	ToHostedConfigurationVersionArrayOutput() HostedConfigurationVersionArrayOutput
	ToHostedConfigurationVersionArrayOutputWithContext(context.Context) HostedConfigurationVersionArrayOutput
}

HostedConfigurationVersionArrayInput is an input type that accepts HostedConfigurationVersionArray and HostedConfigurationVersionArrayOutput values. You can construct a concrete instance of `HostedConfigurationVersionArrayInput` via:

HostedConfigurationVersionArray{ HostedConfigurationVersionArgs{...} }

type HostedConfigurationVersionArrayOutput

type HostedConfigurationVersionArrayOutput struct{ *pulumi.OutputState }

func (HostedConfigurationVersionArrayOutput) ElementType

func (HostedConfigurationVersionArrayOutput) Index

func (HostedConfigurationVersionArrayOutput) ToHostedConfigurationVersionArrayOutput

func (o HostedConfigurationVersionArrayOutput) ToHostedConfigurationVersionArrayOutput() HostedConfigurationVersionArrayOutput

func (HostedConfigurationVersionArrayOutput) ToHostedConfigurationVersionArrayOutputWithContext

func (o HostedConfigurationVersionArrayOutput) ToHostedConfigurationVersionArrayOutputWithContext(ctx context.Context) HostedConfigurationVersionArrayOutput

type HostedConfigurationVersionInput

type HostedConfigurationVersionInput interface {
	pulumi.Input

	ToHostedConfigurationVersionOutput() HostedConfigurationVersionOutput
	ToHostedConfigurationVersionOutputWithContext(ctx context.Context) HostedConfigurationVersionOutput
}

type HostedConfigurationVersionMap

type HostedConfigurationVersionMap map[string]HostedConfigurationVersionInput

func (HostedConfigurationVersionMap) ElementType

func (HostedConfigurationVersionMap) ToHostedConfigurationVersionMapOutput

func (i HostedConfigurationVersionMap) ToHostedConfigurationVersionMapOutput() HostedConfigurationVersionMapOutput

func (HostedConfigurationVersionMap) ToHostedConfigurationVersionMapOutputWithContext

func (i HostedConfigurationVersionMap) ToHostedConfigurationVersionMapOutputWithContext(ctx context.Context) HostedConfigurationVersionMapOutput

type HostedConfigurationVersionMapInput

type HostedConfigurationVersionMapInput interface {
	pulumi.Input

	ToHostedConfigurationVersionMapOutput() HostedConfigurationVersionMapOutput
	ToHostedConfigurationVersionMapOutputWithContext(context.Context) HostedConfigurationVersionMapOutput
}

HostedConfigurationVersionMapInput is an input type that accepts HostedConfigurationVersionMap and HostedConfigurationVersionMapOutput values. You can construct a concrete instance of `HostedConfigurationVersionMapInput` via:

HostedConfigurationVersionMap{ "key": HostedConfigurationVersionArgs{...} }

type HostedConfigurationVersionMapOutput

type HostedConfigurationVersionMapOutput struct{ *pulumi.OutputState }

func (HostedConfigurationVersionMapOutput) ElementType

func (HostedConfigurationVersionMapOutput) MapIndex

func (HostedConfigurationVersionMapOutput) ToHostedConfigurationVersionMapOutput

func (o HostedConfigurationVersionMapOutput) ToHostedConfigurationVersionMapOutput() HostedConfigurationVersionMapOutput

func (HostedConfigurationVersionMapOutput) ToHostedConfigurationVersionMapOutputWithContext

func (o HostedConfigurationVersionMapOutput) ToHostedConfigurationVersionMapOutputWithContext(ctx context.Context) HostedConfigurationVersionMapOutput

type HostedConfigurationVersionOutput

type HostedConfigurationVersionOutput struct{ *pulumi.OutputState }

func (HostedConfigurationVersionOutput) ElementType

func (HostedConfigurationVersionOutput) ToHostedConfigurationVersionOutput

func (o HostedConfigurationVersionOutput) ToHostedConfigurationVersionOutput() HostedConfigurationVersionOutput

func (HostedConfigurationVersionOutput) ToHostedConfigurationVersionOutputWithContext

func (o HostedConfigurationVersionOutput) ToHostedConfigurationVersionOutputWithContext(ctx context.Context) HostedConfigurationVersionOutput

type HostedConfigurationVersionState

type HostedConfigurationVersionState struct {
	// The application ID.
	ApplicationId pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the AppConfig  hosted configuration version.
	Arn pulumi.StringPtrInput
	// The configuration profile ID.
	ConfigurationProfileId pulumi.StringPtrInput
	// The content of the configuration or the configuration data.
	Content pulumi.StringPtrInput
	// A standard MIME type describing the format of the configuration content. For more information, see [Content-Type](https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.17).
	ContentType pulumi.StringPtrInput
	// A description of the configuration.
	Description pulumi.StringPtrInput
	// The version number of the hosted configuration.
	VersionNumber pulumi.IntPtrInput
}

func (HostedConfigurationVersionState) ElementType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL