com.pulumi.aws.servicecatalog.AppregistryApplication Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.
The newest version!
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.aws.servicecatalog;
import com.pulumi.aws.Utilities;
import com.pulumi.aws.servicecatalog.AppregistryApplicationArgs;
import com.pulumi.aws.servicecatalog.inputs.AppregistryApplicationState;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Export;
import com.pulumi.core.annotations.ResourceType;
import com.pulumi.core.internal.Codegen;
import java.lang.String;
import java.util.Map;
import java.util.Optional;
import javax.annotation.Nullable;
/**
* 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
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* 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());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ### Connecting Resources
*
* <!--Start PulumiCodeChooser -->
*
* {@code
* 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());
*
* }
* }
* }
*
* <!--End PulumiCodeChooser -->
*
* ## Import
*
* Using `pulumi import`, import AWS Service Catalog AppRegistry Application using the `id`. For example:
*
* ```sh
* $ pulumi import aws:servicecatalog/appregistryApplication:AppregistryApplication example application-id-12345678
* ```
*
*/
@ResourceType(type="aws:servicecatalog/appregistryApplication:AppregistryApplication")
public class AppregistryApplication extends com.pulumi.resources.CustomResource {
/**
* 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.
*
*/
@Export(name="applicationTag", refs={Map.class,String.class}, tree="[0,1,1]")
private Output
© 2015 - 2025 Weber Informatics LLC | Privacy Policy