Try AWS Native preview for resources not in the classic version.
aws.appconfig.Extension
Explore with Pulumi AI
Try AWS Native preview for resources not in the classic version.
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",
},
});
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",
"roleArn": test_role.arn,
"uri": test_topic.arn,
}],
}],
tags={
"Type": "AppConfig Extension",
})
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
})
}
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" },
},
});
});
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.applyValue(getPolicyDocumentResult -> getPolicyDocumentResult.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());
}
}
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
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 string
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args 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 string
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ExtensionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
RoleArn = "string",
Uri = "string",
Description = "string",
},
},
Point = "string",
},
},
Description = "string",
Name = "string",
Parameters = new[]
{
new Aws.AppConfig.Inputs.ExtensionParameterArgs
{
Name = "string",
Description = "string",
Required = false,
},
},
Tags =
{
{ "string", "string" },
},
});
example, err := appconfig.NewExtension(ctx, "extensionResource", &appconfig.ExtensionArgs{
ActionPoints: appconfig.ExtensionActionPointArray{
&appconfig.ExtensionActionPointArgs{
Actions: appconfig.ExtensionActionPointActionArray{
&appconfig.ExtensionActionPointActionArgs{
Name: pulumi.String("string"),
RoleArn: pulumi.String("string"),
Uri: pulumi.String("string"),
Description: 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"),
},
})
var extensionResource = new Extension("extensionResource", ExtensionArgs.builder()
.actionPoints(ExtensionActionPointArgs.builder()
.actions(ExtensionActionPointActionArgs.builder()
.name("string")
.roleArn("string")
.uri("string")
.description("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());
extension_resource = aws.appconfig.Extension("extensionResource",
action_points=[{
"actions": [{
"name": "string",
"roleArn": "string",
"uri": "string",
"description": "string",
}],
"point": "string",
}],
description="string",
name="string",
parameters=[{
"name": "string",
"description": "string",
"required": False,
}],
tags={
"string": "string",
})
const extensionResource = new aws.appconfig.Extension("extensionResource", {
actionPoints: [{
actions: [{
name: "string",
roleArn: "string",
uri: "string",
description: "string",
}],
point: "string",
}],
description: "string",
name: "string",
parameters: [{
name: "string",
description: "string",
required: false,
}],
tags: {
string: "string",
},
});
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
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
The Extension resource accepts the following input properties:
- Action
Points List<ExtensionAction Point> - The action points defined in the extension. Detailed below.
- Description string
- Information about the extension.
- Name string
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- Parameters
List<Extension
Parameter> - 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.
- 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.
- Action
Points []ExtensionAction Point Args - The action points defined in the extension. Detailed below.
- Description string
- Information about the extension.
- Name string
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- Parameters
[]Extension
Parameter Args - 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.
- 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.
- action
Points List<ExtensionAction Point> - The action points defined in the extension. Detailed below.
- description String
- Information about the extension.
- name String
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- parameters
List<Extension
Parameter> - 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.
- 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.
- action
Points ExtensionAction Point[] - The action points defined in the extension. Detailed below.
- description string
- Information about the extension.
- name string
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- parameters
Extension
Parameter[] - 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.
- {[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 Sequence[ExtensionAction Point Args] - The action points defined in the extension. Detailed below.
- description str
- Information about the extension.
- name str
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- parameters
Sequence[Extension
Parameter Args] - 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.
- 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.
- action
Points List<Property Map> - The action points defined in the extension. Detailed below.
- description String
- Information about the extension.
- name 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.
- 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:
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)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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
- The unique name of the resulting resource.
- id
- 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.
- Action
Points List<ExtensionAction Point> - The action points defined in the extension. Detailed below.
- Arn string
- ARN of the AppConfig Extension.
- Description string
- Information about the extension.
- Name string
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- Parameters
List<Extension
Parameter> - 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.
- 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. - Dictionary<string, string>
- Version int
- The version number for the extension.
- Action
Points []ExtensionAction Point Args - The action points defined in the extension. Detailed below.
- Arn string
- ARN of the AppConfig Extension.
- Description string
- Information about the extension.
- Name string
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- Parameters
[]Extension
Parameter Args - 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.
- 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. - map[string]string
- Version int
- The version number for the extension.
- action
Points List<ExtensionAction Point> - The action points defined in the extension. Detailed below.
- arn String
- ARN of the AppConfig Extension.
- description String
- Information about the extension.
- name String
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- parameters
List<Extension
Parameter> - 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.
- 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. - Map<String,String>
- version Integer
- The version number for the extension.
- action
Points ExtensionAction Point[] - The action points defined in the extension. Detailed below.
- arn string
- ARN of the AppConfig Extension.
- description string
- Information about the extension.
- name string
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- parameters
Extension
Parameter[] - 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.
- {[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. - {[key: string]: string}
- version number
- The version number for the extension.
- action_
points Sequence[ExtensionAction Point Args] - The action points defined in the extension. Detailed below.
- arn str
- ARN of the AppConfig Extension.
- description str
- Information about the extension.
- name str
- A name for the extension. Each extension name in your account must be unique. Extension versions use the same name.
- parameters
Sequence[Extension
Parameter Args] - 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.
- 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. - Mapping[str, str]
- version int
- The version number for the extension.
- action
Points 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 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.
- 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. - Map<String>
- version Number
- The version number for the extension.
Supporting Types
ExtensionActionPoint, ExtensionActionPointArgs
- Actions
List<Extension
Action Point Action> - An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
- Point 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
[]Extension
Action Point Action - An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
- Point 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
List<Extension
Action Point Action> - An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
- point 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
Extension
Action Point Action[] - An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
- point 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
Sequence[Extension
Action Point Action] - An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
- point 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 List<Property Map>
- An action defines the tasks the extension performs during the AppConfig workflow. Detailed below.
- point 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 string
- The action name.
- Role
Arn string - An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
- Uri 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.
- Name string
- The action name.
- Role
Arn string - An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
- Uri 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.
- name String
- The action name.
- role
Arn String - An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
- uri 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.
- name string
- The action name.
- role
Arn string - An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
- uri 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.
- name str
- The action name.
- role_
arn str - An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
- uri 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.
- name String
- The action name.
- role
Arn String - An Amazon Resource Name (ARN) for an Identity and Access Management assume role.
- uri 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.
ExtensionParameter, ExtensionParameterArgs
- Name 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 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 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 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 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 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
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.
Try AWS Native preview for resources not in the classic version.