1. Packages
  2. AWS Native
  3. API Docs
  4. appconfig
  5. Extension

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi

aws-native.appconfig.Extension

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi

    Resource Type definition for AWS::AppConfig::Extension

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var basicExtension = new AwsNative.AppConfig.Extension("basicExtension", new()
        {
            Name = "My Test Extension",
            Description = "My test extension",
            LatestVersionNumber = 0,
            Actions = 
            {
                { "pre_create_hosted_configuration_version", new[]
                {
                    
                    {
                        { "name", "My Test Action" },
                        { "uri", "DependentLambda.Arn" },
                        { "roleArn", "DependentRole.Arn" },
                        { "description", "My test action point" },
                    },
                } },
            },
            Parameters = 
            {
                { "myTestParam", 
                {
                    { "required", false },
                    { "description", "My test parameter" },
                } },
            },
            Tags = new[]
            {
                new AwsNative.AppConfig.Inputs.ExtensionTagArgs
                {
                    Key = "Ext",
                    Value = "Test",
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/appconfig"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := appconfig.NewExtension(ctx, "basicExtension", &appconfig.ExtensionArgs{
    			Name:                pulumi.String("My Test Extension"),
    			Description:         pulumi.String("My test extension"),
    			LatestVersionNumber: pulumi.Int(0),
    			Actions: pulumi.Any{
    				Pre_create_hosted_configuration_version: []map[string]interface{}{
    					map[string]interface{}{
    						"name":        "My Test Action",
    						"uri":         "DependentLambda.Arn",
    						"roleArn":     "DependentRole.Arn",
    						"description": "My test action point",
    					},
    				},
    			},
    			Parameters: pulumi.Any{
    				MyTestParam: map[string]interface{}{
    					"required":    false,
    					"description": "My test parameter",
    				},
    			},
    			Tags: []appconfig.ExtensionTagArgs{
    				{
    					Key:   pulumi.String("Ext"),
    					Value: pulumi.String("Test"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    basic_extension = aws_native.appconfig.Extension("basicExtension",
        name="My Test Extension",
        description="My test extension",
        latest_version_number=0,
        actions={
            "pre_create_hosted_configuration_version": [{
                "name": "My Test Action",
                "uri": "DependentLambda.Arn",
                "roleArn": "DependentRole.Arn",
                "description": "My test action point",
            }],
        },
        parameters={
            "myTestParam": {
                "required": False,
                "description": "My test parameter",
            },
        },
        tags=[aws_native.appconfig.ExtensionTagArgs(
            key="Ext",
            value="Test",
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const basicExtension = new aws_native.appconfig.Extension("basicExtension", {
        name: "My Test Extension",
        description: "My test extension",
        latestVersionNumber: 0,
        actions: {
            pre_create_hosted_configuration_version: [{
                name: "My Test Action",
                uri: "DependentLambda.Arn",
                roleArn: "DependentRole.Arn",
                description: "My test action point",
            }],
        },
        parameters: {
            myTestParam: {
                required: false,
                description: "My test parameter",
            },
        },
        tags: [{
            key: "Ext",
            value: "Test",
        }],
    });
    

    Coming soon!

    Create Extension Resource

    new Extension(name: string, args: ExtensionArgs, opts?: CustomResourceOptions);
    @overload
    def Extension(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  actions: Optional[Any] = None,
                  description: Optional[str] = None,
                  latest_version_number: Optional[int] = None,
                  name: Optional[str] = None,
                  parameters: Optional[Any] = None,
                  tags: Optional[Sequence[ExtensionTagArgs]] = None)
    @overload
    def Extension(resource_name: str,
                  args: ExtensionArgs,
                  opts: Optional[ResourceOptions] = 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-native:appconfig:Extension
    properties: # The arguments to resource properties.
    options: # 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.
    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.

    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:

    Actions object
    Description string

    Description of the extension.

    LatestVersionNumber int
    Name string

    Name of the extension.

    Parameters object
    Tags List<Pulumi.AwsNative.AppConfig.Inputs.ExtensionTag>

    An array of key-value tags to apply to this resource.

    Actions interface{}
    Description string

    Description of the extension.

    LatestVersionNumber int
    Name string

    Name of the extension.

    Parameters interface{}
    Tags []ExtensionTagArgs

    An array of key-value tags to apply to this resource.

    actions Object
    description String

    Description of the extension.

    latestVersionNumber Integer
    name String

    Name of the extension.

    parameters Object
    tags List<ExtensionTag>

    An array of key-value tags to apply to this resource.

    actions any
    description string

    Description of the extension.

    latestVersionNumber number
    name string

    Name of the extension.

    parameters any
    tags ExtensionTag[]

    An array of key-value tags to apply to this resource.

    actions Any
    description str

    Description of the extension.

    latest_version_number int
    name str

    Name of the extension.

    parameters Any
    tags Sequence[ExtensionTagArgs]

    An array of key-value tags to apply to this resource.

    actions Any
    description String

    Description of the extension.

    latestVersionNumber Number
    name String

    Name of the extension.

    parameters Any
    tags List<Property Map>

    An array of key-value tags to apply to this resource.

    Outputs

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

    Arn string
    Id string

    The provider-assigned unique ID for this managed resource.

    VersionNumber int
    Arn string
    Id string

    The provider-assigned unique ID for this managed resource.

    VersionNumber int
    arn String
    id String

    The provider-assigned unique ID for this managed resource.

    versionNumber Integer
    arn string
    id string

    The provider-assigned unique ID for this managed resource.

    versionNumber number
    arn str
    id str

    The provider-assigned unique ID for this managed resource.

    version_number int
    arn String
    id String

    The provider-assigned unique ID for this managed resource.

    versionNumber Number

    Supporting Types

    ExtensionTag, ExtensionTagArgs

    Key string

    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    Value string

    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    Key string

    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    Value string

    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    key String

    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    value String

    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    key string

    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    value string

    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    key str

    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    value str

    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    key String

    The key name of the tag. You can specify a value that is 1 to 128 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    value String

    The value for the tag. You can specify a value that is 0 to 256 Unicode characters in length and cannot be prefixed with aws:. You can use any of the following characters: the set of Unicode letters, digits, whitespace, _, ., /, =, +, and -.

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.78.0 published on Wednesday, Sep 27, 2023 by Pulumi