We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi
Resource Schema for AWS::ServiceCatalogAppRegistry::ResourceAssociation
Create ResourceAssociation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ResourceAssociation(name: string, args: ResourceAssociationArgs, opts?: CustomResourceOptions);@overload
def ResourceAssociation(resource_name: str,
args: ResourceAssociationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ResourceAssociation(resource_name: str,
opts: Optional[ResourceOptions] = None,
application: Optional[str] = None,
resource: Optional[str] = None,
resource_type: Optional[ResourceAssociationResourceType] = None)func NewResourceAssociation(ctx *Context, name string, args ResourceAssociationArgs, opts ...ResourceOption) (*ResourceAssociation, error)public ResourceAssociation(string name, ResourceAssociationArgs args, CustomResourceOptions? opts = null)
public ResourceAssociation(String name, ResourceAssociationArgs args)
public ResourceAssociation(String name, ResourceAssociationArgs args, CustomResourceOptions options)
type: aws-native:servicecatalogappregistry:ResourceAssociation
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_servicecatalogappregistry_resource_association" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ResourceAssociationArgs
- 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 ResourceAssociationArgs
- 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 ResourceAssociationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ResourceAssociationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ResourceAssociationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ResourceAssociation Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ResourceAssociation resource accepts the following input properties:
- Application string
- The name or the Id of the Application.
- Resource string
- The name or the Id of the Resource.
- Resource
Type Pulumi.Aws Native. Service Catalog App Registry. Resource Association Resource Type - The type of the CFN Resource for now it's enum CFN_STACK.
- Application string
- The name or the Id of the Application.
- Resource string
- The name or the Id of the Resource.
- Resource
Type ResourceAssociation Resource Type - The type of the CFN Resource for now it's enum CFN_STACK.
- application string
- The name or the Id of the Application.
- resource string
- The name or the Id of the Resource.
- resource_
type "CFN_STACK" - The type of the CFN Resource for now it's enum CFN_STACK.
- application String
- The name or the Id of the Application.
- resource String
- The name or the Id of the Resource.
- resource
Type ResourceAssociation Resource Type - The type of the CFN Resource for now it's enum CFN_STACK.
- application string
- The name or the Id of the Application.
- resource string
- The name or the Id of the Resource.
- resource
Type ResourceAssociation Resource Type - The type of the CFN Resource for now it's enum CFN_STACK.
- application str
- The name or the Id of the Application.
- resource str
- The name or the Id of the Resource.
- resource_
type ResourceAssociation Resource Type - The type of the CFN Resource for now it's enum CFN_STACK.
- application String
- The name or the Id of the Application.
- resource String
- The name or the Id of the Resource.
- resource
Type "CFN_STACK" - The type of the CFN Resource for now it's enum CFN_STACK.
Outputs
All input properties are implicitly available as output properties. Additionally, the ResourceAssociation resource produces the following output properties:
- Application
Arn string - The Amazon resource name (ARN) that specifies the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Arn string - The Amazon resource name (ARN) that specifies the resource.
- Application
Arn string - The Amazon resource name (ARN) that specifies the application.
- Id string
- The provider-assigned unique ID for this managed resource.
- Resource
Arn string - The Amazon resource name (ARN) that specifies the resource.
- application_
arn string - The Amazon resource name (ARN) that specifies the application.
- id string
- The provider-assigned unique ID for this managed resource.
- resource_
arn string - The Amazon resource name (ARN) that specifies the resource.
- application
Arn String - The Amazon resource name (ARN) that specifies the application.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Arn String - The Amazon resource name (ARN) that specifies the resource.
- application
Arn string - The Amazon resource name (ARN) that specifies the application.
- id string
- The provider-assigned unique ID for this managed resource.
- resource
Arn string - The Amazon resource name (ARN) that specifies the resource.
- application_
arn str - The Amazon resource name (ARN) that specifies the application.
- id str
- The provider-assigned unique ID for this managed resource.
- resource_
arn str - The Amazon resource name (ARN) that specifies the resource.
- application
Arn String - The Amazon resource name (ARN) that specifies the application.
- id String
- The provider-assigned unique ID for this managed resource.
- resource
Arn String - The Amazon resource name (ARN) that specifies the resource.
Look up Existing ResourceAssociation Resource
Get an existing ResourceAssociation 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>, opts?: CustomResourceOptions): ResourceAssociation@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> ResourceAssociationfunc GetResourceAssociation(ctx *Context, name string, id IDInput, state *ResourceAssociationState, opts ...ResourceOption) (*ResourceAssociation, error)public static ResourceAssociation Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static ResourceAssociation get(String name, Output<String> id, CustomResourceOptions options)resources: existingResourceAssociation: type: aws-native:servicecatalogappregistry:ResourceAssociation get: id: ${id}import {
to = aws-native_servicecatalogappregistry_resource_association.example
id = "${id}"
}
- name string
- The unique name of the resulting resource.
- id Input<ID>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resulting resource.
- id str
- The unique provider ID of the resource to look up.
- 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 resulting resource.
- id IDInput
- The unique provider ID of the resource to look up.
- state ResourceAssociationState
- Pass nil. This resource has no state arguments.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resulting resource.
- id Input<string>
- The unique provider ID of the resource to look up.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resulting resource.
- id Output<String>
- The unique provider ID of the resource to look up.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Supporting Types
ResourceAssociationResourceType
The type of the CFN Resource for now it's enum CFN_STACK.
| Name | Value |
|---|---|
| Cfn | CFN_STACK |
| Name | Value |
|---|---|
| Resource | CFN_STACK |
| Value |
|---|
CFN_STACK |
| Name | Value |
|---|---|
| Cfn | CFN_STACK |
| Name | Value |
|---|---|
| Cfn | CFN_STACK |
| Name | Value |
|---|---|
| CFN_STACK | CFN_STACK |
| Value |
|---|
CFN_STACK |
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.
published on Wednesday, Nov 18, 2026 by Pulumi