1. Packages
  2. AWS
  3. API Docs
  4. appconfig
  5. Extension
AWS v6.77.0 published on Wednesday, Apr 9, 2025 by Pulumi

aws.appconfig.Extension

Explore with Pulumi AI

Provides an AppConfig Extension resource.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as aws from "@pulumi/aws";

const testTopic = new aws.sns.Topic("test", {name: "test"});
const test = aws.iam.getPolicyDocument({
    statements: [{
        actions: ["sts:AssumeRole"],
        principals: [{
            type: "Service",
            identifiers: ["appconfig.amazonaws.com"],
        }],
    }],
});
const testRole = new aws.iam.Role("test", {
    name: "test",
    assumeRolePolicy: test.then(test => test.json),
});
const testExtension = new aws.appconfig.Extension("test", {
    name: "test",
    description: "test description",
    actionPoints: [{
        point: "ON_DEPLOYMENT_COMPLETE",
        actions: [{
            name: "test",
            roleArn: testRole.arn,
            uri: testTopic.arn,
        }],
    }],
    tags: {
        Type: "AppConfig Extension",
    },
});
Copy
import pulumi
import pulumi_aws as aws

test_topic = aws.sns.Topic("test", name="test")
test = aws.iam.get_policy_document(statements=[{
    "actions": ["sts:AssumeRole"],
    "principals": [{
        "type": "Service",
        "identifiers": ["appconfig.amazonaws.com"],
    }],
}])
test_role = aws.iam.Role("test",
    name="test",
    assume_role_policy=test.json)
test_extension = aws.appconfig.Extension("test",
    name="test",
    description="test description",
    action_points=[{
        "point": "ON_DEPLOYMENT_COMPLETE",
        "actions": [{
            "name": "test",
            "role_arn": test_role.arn,
            "uri": test_topic.arn,
        }],
    }],
    tags={
        "Type": "AppConfig Extension",
    })
Copy
package main

import (
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/appconfig"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/iam"
	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/sns"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		testTopic, err := sns.NewTopic(ctx, "test", &sns.TopicArgs{
			Name: pulumi.String("test"),
		})
		if err != nil {
			return err
		}
		test, err := iam.GetPolicyDocument(ctx, &iam.GetPolicyDocumentArgs{
			Statements: []iam.GetPolicyDocumentStatement{
				{
					Actions: []string{
						"sts:AssumeRole",
					},
					Principals: []iam.GetPolicyDocumentStatementPrincipal{
						{
							Type: "Service",
							Identifiers: []string{
								"appconfig.amazonaws.com",
							},
						},
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		testRole, err := iam.NewRole(ctx, "test", &iam.RoleArgs{
			Name:             pulumi.String("test"),
			AssumeRolePolicy: pulumi.String(test.Json),
		})
		if err != nil {
			return err
		}
		_, err = appconfig.NewExtension(ctx, "test", &appconfig.ExtensionArgs{
			Name:        pulumi.String("test"),
			Description: pulumi.String("test description"),
			ActionPoints: appconfig.ExtensionActionPointArray{
				&appconfig.ExtensionActionPointArgs{
					Point: pulumi.String("ON_DEPLOYMENT_COMPLETE"),
					Actions: appconfig.ExtensionActionPointActionArray{
						&appconfig.ExtensionActionPointActionArgs{
							Name:    pulumi.String("test"),
							RoleArn: testRole.Arn,
							Uri:     testTopic.Arn,
						},
					},
				},
			},
			Tags: pulumi.StringMap{
				"Type": pulumi.String("AppConfig Extension"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aws = Pulumi.Aws;

return await Deployment.RunAsync(() => 
{
    var testTopic = new Aws.Sns.Topic("test", new()
    {
        Name = "test",
    });

    var test = Aws.Iam.GetPolicyDocument.Invoke(new()
    {
        Statements = new[]
        {
            new Aws.Iam.Inputs.GetPolicyDocumentStatementInputArgs
            {
                Actions = new[]
                {
                    "sts:AssumeRole",
                },
                Principals = new[]
                {
                    new Aws.Iam.Inputs.GetPolicyDocumentStatementPrincipalInputArgs
                    {
                        Type = "Service",
                        Identifiers = new[]
                        {
                            "appconfig.amazonaws.com",
                        },
                    },
                },
            },
        },
    });

    var testRole = new Aws.Iam.Role("test", new()
    {
        Name = "test",
        AssumeRolePolicy = test.Apply(getPolicyDocumentResult => getPolicyDocumentResult.Json),
    });

    var testExtension = new Aws.AppConfig.Extension("test", new()
    {
        Name = "test",
        Description = "test description",
        ActionPoints = new[]
        {
            new Aws.AppConfig.Inputs.ExtensionActionPointArgs
            {
                Point = "ON_DEPLOYMENT_COMPLETE",
                Actions = new[]
                {
                    new Aws.AppConfig.Inputs.ExtensionActionPointActionArgs
                    {
                        Name = "test",
                        RoleArn = testRole.Arn,
                        Uri = testTopic.Arn,
                    },
                },
            },
        },
        Tags = 
        {
            { "Type", "AppConfig Extension" },
        },
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aws.sns.Topic;
import com.pulumi.aws.sns.TopicArgs;
import com.pulumi.aws.iam.IamFunctions;
import com.pulumi.aws.iam.inputs.GetPolicyDocumentArgs;
import com.pulumi.aws.iam.Role;
import com.pulumi.aws.iam.RoleArgs;
import com.pulumi.aws.appconfig.Extension;
import com.pulumi.aws.appconfig.ExtensionArgs;
import com.pulumi.aws.appconfig.inputs.ExtensionActionPointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        var testTopic = new Topic("testTopic", TopicArgs.builder()
            .name("test")
            .build());

        final var test = IamFunctions.getPolicyDocument(GetPolicyDocumentArgs.builder()
            .statements(GetPolicyDocumentStatementArgs.builder()
                .actions("sts:AssumeRole")
                .principals(GetPolicyDocumentStatementPrincipalArgs.builder()
                    .type("Service")
                    .identifiers("appconfig.amazonaws.com")
                    .build())
                .build())
            .build());

        var testRole = new Role("testRole", RoleArgs.builder()
            .name("test")
            .assumeRolePolicy(test.json())
            .build());

        var testExtension = new Extension("testExtension", ExtensionArgs.builder()
            .name("test")
            .description("test description")
            .actionPoints(ExtensionActionPointArgs.builder()
                .point("ON_DEPLOYMENT_COMPLETE")
                .actions(ExtensionActionPointActionArgs.builder()
                    .name("test")
                    .roleArn(testRole.arn())
                    .uri(testTopic.arn())
                    .build())
                .build())
            .tags(Map.of("Type", "AppConfig Extension"))
            .build());

    }
}
Copy
resources:
  testTopic:
    type: aws:sns:Topic
    name: test
    properties:
      name: test
  testRole:
    type: aws:iam:Role
    name: test
    properties:
      name: test
      assumeRolePolicy: ${test.json}
  testExtension:
    type: aws:appconfig:Extension
    name: test
    properties:
      name: test
      description: test description
      actionPoints:
        - point: ON_DEPLOYMENT_COMPLETE
          actions:
            - name: test
              roleArn: ${testRole.arn}
              uri: ${testTopic.arn}
      tags:
        Type: AppConfig Extension
variables:
  test:
    fn::invoke:
      function: aws:iam:getPolicyDocument
      arguments:
        statements:
          - actions:
              - sts:AssumeRole
            principals:
              - type: Service
                identifiers:
                  - appconfig.amazonaws.com
Copy

Create Extension Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new Extension(name: string, args: ExtensionArgs, opts?: CustomResourceOptions);
@overload
def Extension(resource_name: str,
              args: ExtensionArgs,
              opts: Optional[ResourceOptions] = None)

@overload
def Extension(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              action_points: Optional[Sequence[ExtensionActionPointArgs]] = None,
              description: Optional[str] = None,
              name: Optional[str] = None,
              parameters: Optional[Sequence[ExtensionParameterArgs]] = None,
              tags: Optional[Mapping[str, str]] = None)
func NewExtension(ctx *Context, name string, args ExtensionArgs, opts ...ResourceOption) (*Extension, error)
public Extension(string name, ExtensionArgs args, CustomResourceOptions? opts = null)
public Extension(String name, ExtensionArgs args)
public Extension(String name, ExtensionArgs args, CustomResourceOptions options)
type: aws:appconfig:Extension
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ExtensionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ExtensionArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ExtensionArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ExtensionArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ExtensionArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Constructor example

The following reference example uses placeholder values for all input properties.

var extensionResource = new Aws.AppConfig.Extension("extensionResource", new()
{
    ActionPoints = new[]
    {
        new Aws.AppConfig.Inputs.ExtensionActionPointArgs
        {
            Actions = new[]
            {
                new Aws.AppConfig.Inputs.ExtensionActionPointActionArgs
                {
                    Name = "string",
                    Uri = "string",
                    Description = "string",
                    RoleArn = "string",
                },
            },
            Point = "string",
        },
    },
    Description = "string",
    Name = "string",
    Parameters = new[]
    {
        new Aws.AppConfig.Inputs.ExtensionParameterArgs
        {
            Name = "string",
            Description = "string",
            Required = false,
        },
    },
    Tags = 
    {
        { "string", "string" },
    },
});
Copy
example, err := appconfig.NewExtension(ctx, "extensionResource", &appconfig.ExtensionArgs{
	ActionPoints: appconfig.ExtensionActionPointArray{
		&appconfig.ExtensionActionPointArgs{
			Actions: appconfig.ExtensionActionPointActionArray{
				&appconfig.ExtensionActionPointActionArgs{
					Name:        pulumi.String("string"),
					Uri:         pulumi.String("string"),
					Description: pulumi.String("string"),
					RoleArn:     pulumi.String("string"),
				},
			},
			Point: pulumi.String("string"),
		},
	},
	Description: pulumi.String("string"),
	Name:        pulumi.String("string"),
	Parameters: appconfig.ExtensionParameterArray{
		&appconfig.ExtensionParameterArgs{
			Name:        pulumi.String("string"),
			Description: pulumi.String("string"),
			Required:    pulumi.Bool(false),
		},
	},
	Tags: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
})
Copy
var extensionResource = new Extension("extensionResource", ExtensionArgs.builder()
    .actionPoints(ExtensionActionPointArgs.builder()
        .actions(ExtensionActionPointActionArgs.builder()
            .name("string")
            .uri("string")
            .description("string")
            .roleArn("string")
            .build())
        .point("string")
        .build())
    .description("string")
    .name("string")
    .parameters(ExtensionParameterArgs.builder()
        .name("string")
        .description("string")
        .required(false)
        .build())
    .tags(Map.of("string", "string"))
    .build());
Copy
extension_resource = aws.appconfig.Extension("extensionResource",
    action_points=[{
        "actions": [{
            "name": "string",
            "uri": "string",
            "description": "string",
            "role_arn": "string",
        }],
        "point": "string",
    }],
    description="string",
    name="string",
    parameters=[{
        "name": "string",
        "description": "string",
        "required": False,
    }],
    tags={
        "string": "string",
    })
Copy
const extensionResource = new aws.appconfig.Extension("extensionResource", {
    actionPoints: [{
        actions: [{
            name: "string",
            uri: "string",
            description: "string",
            roleArn: "string",
        }],
        point: "string",
    }],
    description: "string",
    name: "string",
    parameters: [{
        name: "string",
        description: "string",
        required: false,
    }],
    tags: {
        string: "string",
    },
});
Copy
type: aws:appconfig:Extension
properties:
    actionPoints:
        - actions:
            - description: string
              name: string
              roleArn: string
              uri: string
          point: string
    description: string
    name: string
    parameters:
        - description: string
          name: string
          required: false
    tags:
        string: string
Copy

Extension Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The Extension resource accepts the following input properties:

ActionPoints This property is required. List<ExtensionActionPoint>
The action points defined in the extension. Detailed below.
Description string
Information about the extension.
Name Changes to this property will trigger replacement. string
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
Parameters List<ExtensionParameter>
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
ActionPoints This property is required. []ExtensionActionPointArgs
The action points defined in the extension. Detailed below.
Description string
Information about the extension.
Name Changes to this property will trigger replacement. string
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
Parameters []ExtensionParameterArgs
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
actionPoints This property is required. List<ExtensionActionPoint>
The action points defined in the extension. Detailed below.
description String
Information about the extension.
name Changes to this property will trigger replacement. String
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
parameters List<ExtensionParameter>
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
actionPoints This property is required. ExtensionActionPoint[]
The action points defined in the extension. Detailed below.
description string
Information about the extension.
name Changes to this property will trigger replacement. string
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
parameters ExtensionParameter[]
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
action_points This property is required. Sequence[ExtensionActionPointArgs]
The action points defined in the extension. Detailed below.
description str
Information about the extension.
name Changes to this property will trigger replacement. str
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
parameters Sequence[ExtensionParameterArgs]
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
actionPoints This property is required. List<Property Map>
The action points defined in the extension. Detailed below.
description String
Information about the extension.
name Changes to this property will trigger replacement. String
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
parameters List<Property Map>
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
tags Map<String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.

Outputs

All input properties are implicitly available as output properties. Additionally, the Extension resource produces the following output properties:

Arn string
ARN of the AppConfig Extension.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll Dictionary<string, string>

Deprecated: Please use tags instead.

Version int
The version number for the extension.
Arn string
ARN of the AppConfig Extension.
Id string
The provider-assigned unique ID for this managed resource.
TagsAll map[string]string

Deprecated: Please use tags instead.

Version int
The version number for the extension.
arn String
ARN of the AppConfig Extension.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String,String>

Deprecated: Please use tags instead.

version Integer
The version number for the extension.
arn string
ARN of the AppConfig Extension.
id string
The provider-assigned unique ID for this managed resource.
tagsAll {[key: string]: string}

Deprecated: Please use tags instead.

version number
The version number for the extension.
arn str
ARN of the AppConfig Extension.
id str
The provider-assigned unique ID for this managed resource.
tags_all Mapping[str, str]

Deprecated: Please use tags instead.

version int
The version number for the extension.
arn String
ARN of the AppConfig Extension.
id String
The provider-assigned unique ID for this managed resource.
tagsAll Map<String>

Deprecated: Please use tags instead.

version Number
The version number for the extension.

Look up Existing Extension Resource

Get an existing Extension resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ExtensionState, opts?: CustomResourceOptions): Extension
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        action_points: Optional[Sequence[ExtensionActionPointArgs]] = None,
        arn: Optional[str] = None,
        description: Optional[str] = None,
        name: Optional[str] = None,
        parameters: Optional[Sequence[ExtensionParameterArgs]] = None,
        tags: Optional[Mapping[str, str]] = None,
        tags_all: Optional[Mapping[str, str]] = None,
        version: Optional[int] = None) -> Extension
func GetExtension(ctx *Context, name string, id IDInput, state *ExtensionState, opts ...ResourceOption) (*Extension, error)
public static Extension Get(string name, Input<string> id, ExtensionState? state, CustomResourceOptions? opts = null)
public static Extension get(String name, Output<String> id, ExtensionState state, CustomResourceOptions options)
resources:  _:    type: aws:appconfig:Extension    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
ActionPoints List<ExtensionActionPoint>
The action points defined in the extension. Detailed below.
Arn string
ARN of the AppConfig Extension.
Description string
Information about the extension.
Name Changes to this property will trigger replacement. string
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
Parameters List<ExtensionParameter>
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
Tags Dictionary<string, string>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll Dictionary<string, string>

Deprecated: Please use tags instead.

Version int
The version number for the extension.
ActionPoints []ExtensionActionPointArgs
The action points defined in the extension. Detailed below.
Arn string
ARN of the AppConfig Extension.
Description string
Information about the extension.
Name Changes to this property will trigger replacement. string
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
Parameters []ExtensionParameterArgs
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
Tags map[string]string
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
TagsAll map[string]string

Deprecated: Please use tags instead.

Version int
The version number for the extension.
actionPoints List<ExtensionActionPoint>
The action points defined in the extension. Detailed below.
arn String
ARN of the AppConfig Extension.
description String
Information about the extension.
name Changes to this property will trigger replacement. String
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
parameters List<ExtensionParameter>
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
tags Map<String,String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String,String>

Deprecated: Please use tags instead.

version Integer
The version number for the extension.
actionPoints ExtensionActionPoint[]
The action points defined in the extension. Detailed below.
arn string
ARN of the AppConfig Extension.
description string
Information about the extension.
name Changes to this property will trigger replacement. string
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
parameters ExtensionParameter[]
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
tags {[key: string]: string}
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll {[key: string]: string}

Deprecated: Please use tags instead.

version number
The version number for the extension.
action_points Sequence[ExtensionActionPointArgs]
The action points defined in the extension. Detailed below.
arn str
ARN of the AppConfig Extension.
description str
Information about the extension.
name Changes to this property will trigger replacement. str
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
parameters Sequence[ExtensionParameterArgs]
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
tags Mapping[str, str]
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tags_all Mapping[str, str]

Deprecated: Please use tags instead.

version int
The version number for the extension.
actionPoints List<Property Map>
The action points defined in the extension. Detailed below.
arn String
ARN of the AppConfig Extension.
description String
Information about the extension.
name Changes to this property will trigger replacement. String
A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
parameters List<Property Map>
The parameters accepted by the extension. You specify parameter values when you associate the extension to an AppConfig resource by using the CreateExtensionAssociation API action. For Lambda extension actions, these parameters are included in the Lambda request object. Detailed below.
tags Map<String>
Map of tags to assign to the resource. If configured with a provider default_tags configuration block present, tags with matching keys will overwrite those defined at the provider-level.
tagsAll Map<String>

Deprecated: Please use tags instead.

version Number
The version number for the extension.

Supporting Types

ExtensionActionPoint
, ExtensionActionPointArgs

Actions This property is required. List<ExtensionActionPointAction>
An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
Point This property is required. string
The point at which to perform the defined actions. Valid points are PRE_CREATE_HOSTED_CONFIGURATION_VERSION, PRE_START_DEPLOYMENT, ON_DEPLOYMENT_START, ON_DEPLOYMENT_STEP, ON_DEPLOYMENT_BAKING, ON_DEPLOYMENT_COMPLETE, ON_DEPLOYMENT_ROLLED_BACK.
Actions This property is required. []ExtensionActionPointAction
An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
Point This property is required. string
The point at which to perform the defined actions. Valid points are PRE_CREATE_HOSTED_CONFIGURATION_VERSION, PRE_START_DEPLOYMENT, ON_DEPLOYMENT_START, ON_DEPLOYMENT_STEP, ON_DEPLOYMENT_BAKING, ON_DEPLOYMENT_COMPLETE, ON_DEPLOYMENT_ROLLED_BACK.
actions This property is required. List<ExtensionActionPointAction>
An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
point This property is required. String
The point at which to perform the defined actions. Valid points are PRE_CREATE_HOSTED_CONFIGURATION_VERSION, PRE_START_DEPLOYMENT, ON_DEPLOYMENT_START, ON_DEPLOYMENT_STEP, ON_DEPLOYMENT_BAKING, ON_DEPLOYMENT_COMPLETE, ON_DEPLOYMENT_ROLLED_BACK.
actions This property is required. ExtensionActionPointAction[]
An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
point This property is required. string
The point at which to perform the defined actions. Valid points are PRE_CREATE_HOSTED_CONFIGURATION_VERSION, PRE_START_DEPLOYMENT, ON_DEPLOYMENT_START, ON_DEPLOYMENT_STEP, ON_DEPLOYMENT_BAKING, ON_DEPLOYMENT_COMPLETE, ON_DEPLOYMENT_ROLLED_BACK.
actions This property is required. Sequence[ExtensionActionPointAction]
An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
point This property is required. str
The point at which to perform the defined actions. Valid points are PRE_CREATE_HOSTED_CONFIGURATION_VERSION, PRE_START_DEPLOYMENT, ON_DEPLOYMENT_START, ON_DEPLOYMENT_STEP, ON_DEPLOYMENT_BAKING, ON_DEPLOYMENT_COMPLETE, ON_DEPLOYMENT_ROLLED_BACK.
actions This property is required. List<Property Map>
An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
point This property is required. String
The point at which to perform the defined actions. Valid points are PRE_CREATE_HOSTED_CONFIGURATION_VERSION, PRE_START_DEPLOYMENT, ON_DEPLOYMENT_START, ON_DEPLOYMENT_STEP, ON_DEPLOYMENT_BAKING, ON_DEPLOYMENT_COMPLETE, ON_DEPLOYMENT_ROLLED_BACK.

ExtensionActionPointAction
, ExtensionActionPointActionArgs

Name This property is required. string
The action name.
Uri This property is required. string
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
Description string
Information about the action.
RoleArn string
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
Name This property is required. string
The action name.
Uri This property is required. string
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
Description string
Information about the action.
RoleArn string
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
name This property is required. String
The action name.
uri This property is required. String
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
description String
Information about the action.
roleArn String
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
name This property is required. string
The action name.
uri This property is required. string
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
description string
Information about the action.
roleArn string
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
name This property is required. str
The action name.
uri This property is required. str
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
description str
Information about the action.
role_arn str
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
name This property is required. String
The action name.
uri This property is required. String
The extension URI associated to the action point in the extension definition. The URI can be an Amazon Resource Name (ARN) for one of the following: an Lambda function, an Amazon Simple Queue Service queue, an Amazon Simple Notification Service topic, or the Amazon EventBridge default event bus.
description String
Information about the action.
roleArn String
An Amazon Resource Name (ARN) for an Identity and Access Management assume role.

ExtensionParameter
, ExtensionParameterArgs

Name This property is required. string
The parameter name.
Description string
Information about the parameter.
Required bool
Determines if a parameter value must be specified in the extension association.
Name This property is required. string
The parameter name.
Description string
Information about the parameter.
Required bool
Determines if a parameter value must be specified in the extension association.
name This property is required. String
The parameter name.
description String
Information about the parameter.
required Boolean
Determines if a parameter value must be specified in the extension association.
name This property is required. string
The parameter name.
description string
Information about the parameter.
required boolean
Determines if a parameter value must be specified in the extension association.
name This property is required. str
The parameter name.
description str
Information about the parameter.
required bool
Determines if a parameter value must be specified in the extension association.
name This property is required. String
The parameter name.
description String
Information about the parameter.
required Boolean
Determines if a parameter value must be specified in the extension association.

Import

Using pulumi import, import AppConfig Extensions using their extension ID. For example:

$ pulumi import aws:appconfig/extension:Extension example 71rxuzt
Copy

To learn more about importing existing cloud resources, see Importing resources.

Package Details

Repository
AWS Classic pulumi/pulumi-aws
License
Apache-2.0
Notes
This Pulumi package is based on the aws Terraform Provider.