1. Packages
  2. AWS
  3. API Docs
  4. servicecatalog
  5. AppregistryApplication
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

aws.servicecatalog.AppregistryApplication

Explore with Pulumi AI

aws logo
AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi

    Resource for managing an AWS Service Catalog AppRegistry Application.

    An AWS Service Catalog AppRegistry Application is displayed in the AWS Console under “MyApplications”.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.servicecatalog.AppregistryApplication("example", {name: "example-app"});
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.servicecatalog.AppregistryApplication("example", name="example-app")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicecatalog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := servicecatalog.NewAppregistryApplication(ctx, "example", &servicecatalog.AppregistryApplicationArgs{
    			Name: pulumi.String("example-app"),
    		})
    		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 example = new Aws.ServiceCatalog.AppregistryApplication("example", new()
        {
            Name = "example-app",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.servicecatalog.AppregistryApplication;
    import com.pulumi.aws.servicecatalog.AppregistryApplicationArgs;
    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 example = new AppregistryApplication("example", AppregistryApplicationArgs.builder()
                .name("example-app")
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:servicecatalog:AppregistryApplication
        properties:
          name: example-app
    

    Connecting Resources

    import * as pulumi from "@pulumi/pulumi";
    import * as aws from "@pulumi/aws";
    
    const example = new aws.servicecatalog.AppregistryApplication("example", {name: "example-app"});
    const bucket = new aws.s3.BucketV2("bucket", {
        bucket: "example-bucket",
        tags: example.applicationTag,
    });
    
    import pulumi
    import pulumi_aws as aws
    
    example = aws.servicecatalog.AppregistryApplication("example", name="example-app")
    bucket = aws.s3.BucketV2("bucket",
        bucket="example-bucket",
        tags=example.application_tag)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/s3"
    	"github.com/pulumi/pulumi-aws/sdk/v6/go/aws/servicecatalog"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		example, err := servicecatalog.NewAppregistryApplication(ctx, "example", &servicecatalog.AppregistryApplicationArgs{
    			Name: pulumi.String("example-app"),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = s3.NewBucketV2(ctx, "bucket", &s3.BucketV2Args{
    			Bucket: pulumi.String("example-bucket"),
    			Tags:   example.ApplicationTag,
    		})
    		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 example = new Aws.ServiceCatalog.AppregistryApplication("example", new()
        {
            Name = "example-app",
        });
    
        var bucket = new Aws.S3.BucketV2("bucket", new()
        {
            Bucket = "example-bucket",
            Tags = example.ApplicationTag,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.aws.servicecatalog.AppregistryApplication;
    import com.pulumi.aws.servicecatalog.AppregistryApplicationArgs;
    import com.pulumi.aws.s3.BucketV2;
    import com.pulumi.aws.s3.BucketV2Args;
    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 example = new AppregistryApplication("example", AppregistryApplicationArgs.builder()
                .name("example-app")
                .build());
    
            var bucket = new BucketV2("bucket", BucketV2Args.builder()
                .bucket("example-bucket")
                .tags(example.applicationTag())
                .build());
    
        }
    }
    
    resources:
      example:
        type: aws:servicecatalog:AppregistryApplication
        properties:
          name: example-app
      bucket:
        type: aws:s3:BucketV2
        properties:
          bucket: example-bucket
          tags: ${example.applicationTag}
    

    Create AppregistryApplication Resource

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

    Constructor syntax

    new AppregistryApplication(name: string, args?: AppregistryApplicationArgs, opts?: CustomResourceOptions);
    @overload
    def AppregistryApplication(resource_name: str,
                               args: Optional[AppregistryApplicationArgs] = None,
                               opts: Optional[ResourceOptions] = None)
    
    @overload
    def AppregistryApplication(resource_name: str,
                               opts: Optional[ResourceOptions] = None,
                               description: Optional[str] = None,
                               name: Optional[str] = None)
    func NewAppregistryApplication(ctx *Context, name string, args *AppregistryApplicationArgs, opts ...ResourceOption) (*AppregistryApplication, error)
    public AppregistryApplication(string name, AppregistryApplicationArgs? args = null, CustomResourceOptions? opts = null)
    public AppregistryApplication(String name, AppregistryApplicationArgs args)
    public AppregistryApplication(String name, AppregistryApplicationArgs args, CustomResourceOptions options)
    
    type: aws:servicecatalog:AppregistryApplication
    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 AppregistryApplicationArgs
    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 AppregistryApplicationArgs
    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 AppregistryApplicationArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AppregistryApplicationArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AppregistryApplicationArgs
    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 appregistryApplicationResource = new Aws.ServiceCatalog.AppregistryApplication("appregistryApplicationResource", new()
    {
        Description = "string",
        Name = "string",
    });
    
    example, err := servicecatalog.NewAppregistryApplication(ctx, "appregistryApplicationResource", &servicecatalog.AppregistryApplicationArgs{
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    })
    
    var appregistryApplicationResource = new AppregistryApplication("appregistryApplicationResource", AppregistryApplicationArgs.builder()
        .description("string")
        .name("string")
        .build());
    
    appregistry_application_resource = aws.servicecatalog.AppregistryApplication("appregistryApplicationResource",
        description="string",
        name="string")
    
    const appregistryApplicationResource = new aws.servicecatalog.AppregistryApplication("appregistryApplicationResource", {
        description: "string",
        name: "string",
    });
    
    type: aws:servicecatalog:AppregistryApplication
    properties:
        description: string
        name: string
    

    AppregistryApplication 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 AppregistryApplication resource accepts the following input properties:

    Description string
    Description of the application.
    Name string

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    Description string
    Description of the application.
    Name string

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    description String
    Description of the application.
    name String

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    description string
    Description of the application.
    name string

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    description str
    Description of the application.
    name str

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    description String
    Description of the application.
    name String

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    Outputs

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

    ApplicationTag Dictionary<string, string>
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    Arn string
    ARN (Amazon Resource Name) of the application.
    Id string
    The provider-assigned unique ID for this managed resource.
    ApplicationTag map[string]string
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    Arn string
    ARN (Amazon Resource Name) of the application.
    Id string
    The provider-assigned unique ID for this managed resource.
    applicationTag Map<String,String>
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    arn String
    ARN (Amazon Resource Name) of the application.
    id String
    The provider-assigned unique ID for this managed resource.
    applicationTag {[key: string]: string}
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    arn string
    ARN (Amazon Resource Name) of the application.
    id string
    The provider-assigned unique ID for this managed resource.
    application_tag Mapping[str, str]
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    arn str
    ARN (Amazon Resource Name) of the application.
    id str
    The provider-assigned unique ID for this managed resource.
    applicationTag Map<String>
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    arn String
    ARN (Amazon Resource Name) of the application.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing AppregistryApplication Resource

    Get an existing AppregistryApplication 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?: AppregistryApplicationState, opts?: CustomResourceOptions): AppregistryApplication
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            application_tag: Optional[Mapping[str, str]] = None,
            arn: Optional[str] = None,
            description: Optional[str] = None,
            name: Optional[str] = None) -> AppregistryApplication
    func GetAppregistryApplication(ctx *Context, name string, id IDInput, state *AppregistryApplicationState, opts ...ResourceOption) (*AppregistryApplication, error)
    public static AppregistryApplication Get(string name, Input<string> id, AppregistryApplicationState? state, CustomResourceOptions? opts = null)
    public static AppregistryApplication get(String name, Output<String> id, AppregistryApplicationState 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.
    The following state arguments are supported:
    ApplicationTag Dictionary<string, string>
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    Arn string
    ARN (Amazon Resource Name) of the application.
    Description string
    Description of the application.
    Name string

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    ApplicationTag map[string]string
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    Arn string
    ARN (Amazon Resource Name) of the application.
    Description string
    Description of the application.
    Name string

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    applicationTag Map<String,String>
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    arn String
    ARN (Amazon Resource Name) of the application.
    description String
    Description of the application.
    name String

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    applicationTag {[key: string]: string}
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    arn string
    ARN (Amazon Resource Name) of the application.
    description string
    Description of the application.
    name string

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    application_tag Mapping[str, str]
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    arn str
    ARN (Amazon Resource Name) of the application.
    description str
    Description of the application.
    name str

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    applicationTag Map<String>
    A map with a single tag key-value pair used to associate resources with the application. This attribute can be passed directly into the tags argument of another resource, or merged into a map of existing tags.
    arn String
    ARN (Amazon Resource Name) of the application.
    description String
    Description of the application.
    name String

    Name of the application. The name must be unique within an AWS region.

    The following arguments are optional:

    Import

    Using pulumi import, import AWS Service Catalog AppRegistry Application using the id. For example:

    $ pulumi import aws:servicecatalog/appregistryApplication:AppregistryApplication example application-id-12345678
    

    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.
    aws logo
    AWS v6.54.0 published on Friday, Sep 27, 2024 by Pulumi