We recommend new projects start with resources from the AWS provider.
aws-native.appconfig.Application
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
Resource Type definition for AWS::AppConfig::Application
Example Usage
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var dependentApplication = new AwsNative.AppConfig.Application("dependentApplication", new()
{
Name = "MyApplication",
});
var dependentConfigurationProfile = new AwsNative.AppConfig.ConfigurationProfile("dependentConfigurationProfile", new()
{
ApplicationId = "DependentApplication",
Name = "MyTestProfile",
LocationUri = "hosted",
});
var basicHostedConfigurationVersion = new AwsNative.AppConfig.HostedConfigurationVersion("basicHostedConfigurationVersion", new()
{
ApplicationId = "DependentApplication",
ConfigurationProfileId = "DependentConfigurationProfile",
Description = "A sample hosted configuration version",
Content = "My hosted configuration content",
ContentType = "text/plain",
});
});
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.NewApplication(ctx, "dependentApplication", &appconfig.ApplicationArgs{
Name: pulumi.String("MyApplication"),
})
if err != nil {
return err
}
_, err = appconfig.NewConfigurationProfile(ctx, "dependentConfigurationProfile", &appconfig.ConfigurationProfileArgs{
ApplicationId: pulumi.String("DependentApplication"),
Name: pulumi.String("MyTestProfile"),
LocationUri: pulumi.String("hosted"),
})
if err != nil {
return err
}
_, err = appconfig.NewHostedConfigurationVersion(ctx, "basicHostedConfigurationVersion", &appconfig.HostedConfigurationVersionArgs{
ApplicationId: pulumi.String("DependentApplication"),
ConfigurationProfileId: pulumi.String("DependentConfigurationProfile"),
Description: pulumi.String("A sample hosted configuration version"),
Content: pulumi.String("My hosted configuration content"),
ContentType: pulumi.String("text/plain"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
dependent_application = aws_native.appconfig.Application("dependentApplication", name="MyApplication")
dependent_configuration_profile = aws_native.appconfig.ConfigurationProfile("dependentConfigurationProfile",
application_id="DependentApplication",
name="MyTestProfile",
location_uri="hosted")
basic_hosted_configuration_version = aws_native.appconfig.HostedConfigurationVersion("basicHostedConfigurationVersion",
application_id="DependentApplication",
configuration_profile_id="DependentConfigurationProfile",
description="A sample hosted configuration version",
content="My hosted configuration content",
content_type="text/plain")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const dependentApplication = new aws_native.appconfig.Application("dependentApplication", {name: "MyApplication"});
const dependentConfigurationProfile = new aws_native.appconfig.ConfigurationProfile("dependentConfigurationProfile", {
applicationId: "DependentApplication",
name: "MyTestProfile",
locationUri: "hosted",
});
const basicHostedConfigurationVersion = new aws_native.appconfig.HostedConfigurationVersion("basicHostedConfigurationVersion", {
applicationId: "DependentApplication",
configurationProfileId: "DependentConfigurationProfile",
description: "A sample hosted configuration version",
content: "My hosted configuration content",
contentType: "text/plain",
});
Coming soon!
Example
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AwsNative = Pulumi.AwsNative;
return await Deployment.RunAsync(() =>
{
var dependentApplication = new AwsNative.AppConfig.Application("dependentApplication", new()
{
Name = "MyApplication",
});
var dependentConfigurationProfile = new AwsNative.AppConfig.ConfigurationProfile("dependentConfigurationProfile", new()
{
ApplicationId = dependentApplication.Id,
Name = "MyTestProfile",
LocationUri = "hosted",
});
var basicHostedConfigurationVersion = new AwsNative.AppConfig.HostedConfigurationVersion("basicHostedConfigurationVersion", new()
{
ApplicationId = dependentApplication.Id,
ConfigurationProfileId = dependentConfigurationProfile.Id,
Description = "A sample hosted configuration version",
Content = "My hosted configuration content",
ContentType = "text/plain",
});
});
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 {
dependentApplication, err := appconfig.NewApplication(ctx, "dependentApplication", &appconfig.ApplicationArgs{
Name: pulumi.String("MyApplication"),
})
if err != nil {
return err
}
dependentConfigurationProfile, err := appconfig.NewConfigurationProfile(ctx, "dependentConfigurationProfile", &appconfig.ConfigurationProfileArgs{
ApplicationId: dependentApplication.ID(),
Name: pulumi.String("MyTestProfile"),
LocationUri: pulumi.String("hosted"),
})
if err != nil {
return err
}
_, err = appconfig.NewHostedConfigurationVersion(ctx, "basicHostedConfigurationVersion", &appconfig.HostedConfigurationVersionArgs{
ApplicationId: dependentApplication.ID(),
ConfigurationProfileId: dependentConfigurationProfile.ID(),
Description: pulumi.String("A sample hosted configuration version"),
Content: pulumi.String("My hosted configuration content"),
ContentType: pulumi.String("text/plain"),
})
if err != nil {
return err
}
return nil
})
}
Coming soon!
import pulumi
import pulumi_aws_native as aws_native
dependent_application = aws_native.appconfig.Application("dependentApplication", name="MyApplication")
dependent_configuration_profile = aws_native.appconfig.ConfigurationProfile("dependentConfigurationProfile",
application_id=dependent_application.id,
name="MyTestProfile",
location_uri="hosted")
basic_hosted_configuration_version = aws_native.appconfig.HostedConfigurationVersion("basicHostedConfigurationVersion",
application_id=dependent_application.id,
configuration_profile_id=dependent_configuration_profile.id,
description="A sample hosted configuration version",
content="My hosted configuration content",
content_type="text/plain")
import * as pulumi from "@pulumi/pulumi";
import * as aws_native from "@pulumi/aws-native";
const dependentApplication = new aws_native.appconfig.Application("dependentApplication", {name: "MyApplication"});
const dependentConfigurationProfile = new aws_native.appconfig.ConfigurationProfile("dependentConfigurationProfile", {
applicationId: dependentApplication.id,
name: "MyTestProfile",
locationUri: "hosted",
});
const basicHostedConfigurationVersion = new aws_native.appconfig.HostedConfigurationVersion("basicHostedConfigurationVersion", {
applicationId: dependentApplication.id,
configurationProfileId: dependentConfigurationProfile.id,
description: "A sample hosted configuration version",
content: "My hosted configuration content",
contentType: "text/plain",
});
Coming soon!
Create Application Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Application(name: string, args?: ApplicationArgs, opts?: CustomResourceOptions);
@overload
def Application(resource_name: str,
args: Optional[ApplicationArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def Application(resource_name: str,
opts: Optional[ResourceOptions] = None,
description: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)
func NewApplication(ctx *Context, name string, args *ApplicationArgs, opts ...ResourceOption) (*Application, error)
public Application(string name, ApplicationArgs? args = null, CustomResourceOptions? opts = null)
public Application(String name, ApplicationArgs args)
public Application(String name, ApplicationArgs args, CustomResourceOptions options)
type: aws-native:appconfig:Application
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 ApplicationArgs
- 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 ApplicationArgs
- 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 ApplicationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ApplicationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Application 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 Application resource accepts the following input properties:
- Description string
- A description of the application.
- Name string
- A name for the application.
- List<Pulumi.
Aws Native. Inputs. Tag> - Metadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- Description string
- A description of the application.
- Name string
- A name for the application.
- Tag
Args - Metadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- description String
- A description of the application.
- name String
- A name for the application.
- List<Tag>
- Metadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- description string
- A description of the application.
- name string
- A name for the application.
- Tag[]
- Metadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- description str
- A description of the application.
- name str
- A name for the application.
- Sequence[Tag
Args] - Metadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
- description String
- A description of the application.
- name String
- A name for the application.
- List<Property Map>
- Metadata to assign to the application. Tags help organize and categorize your AWS AppConfig resources. Each tag consists of a key and an optional value, both of which you define.
Outputs
All input properties are implicitly available as output properties. Additionally, the Application resource produces the following output properties:
- Application
Id string - The application Id
- Id string
- The provider-assigned unique ID for this managed resource.
- Application
Id string - The application Id
- Id string
- The provider-assigned unique ID for this managed resource.
- application
Id String - The application Id
- id String
- The provider-assigned unique ID for this managed resource.
- application
Id string - The application Id
- id string
- The provider-assigned unique ID for this managed resource.
- application_
id str - The application Id
- id str
- The provider-assigned unique ID for this managed resource.
- application
Id String - The application Id
- id String
- The provider-assigned unique ID for this managed resource.
Supporting Types
Tag, TagArgs
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.