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 Type definition for AWS::GlobalAccelerator::CrossAccountAttachment
Create CrossAccountAttachment Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CrossAccountAttachment(name: string, args?: CrossAccountAttachmentArgs, opts?: CustomResourceOptions);@overload
def CrossAccountAttachment(resource_name: str,
args: Optional[CrossAccountAttachmentArgs] = None,
opts: Optional[ResourceOptions] = None)
@overload
def CrossAccountAttachment(resource_name: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
principals: Optional[Sequence[str]] = None,
resources: Optional[Sequence[CrossAccountAttachmentResourceArgs]] = None,
tags: Optional[Sequence[_root_inputs.TagArgs]] = None)func NewCrossAccountAttachment(ctx *Context, name string, args *CrossAccountAttachmentArgs, opts ...ResourceOption) (*CrossAccountAttachment, error)public CrossAccountAttachment(string name, CrossAccountAttachmentArgs? args = null, CustomResourceOptions? opts = null)
public CrossAccountAttachment(String name, CrossAccountAttachmentArgs args)
public CrossAccountAttachment(String name, CrossAccountAttachmentArgs args, CustomResourceOptions options)
type: aws-native:globalaccelerator:CrossAccountAttachment
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "aws-native_globalaccelerator_cross_account_attachment" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args CrossAccountAttachmentArgs
- 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 CrossAccountAttachmentArgs
- 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 CrossAccountAttachmentArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CrossAccountAttachmentArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CrossAccountAttachmentArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CrossAccountAttachment 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 CrossAccountAttachment resource accepts the following input properties:
- Name string
- The Friendly identifier of the attachment.
- Principals List<string>
- Principals to share the resources with.
- Resources
List<Pulumi.
Aws Native. Global Accelerator. Inputs. Cross Account Attachment Resource> - Resources shared using the attachment.
-
List<Pulumi.
Aws Native. Inputs. Tag> Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- Name string
- The Friendly identifier of the attachment.
- Principals []string
- Principals to share the resources with.
- Resources
[]Cross
Account Attachment Resource Args - Resources shared using the attachment.
-
Tag
Args Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- name string
- The Friendly identifier of the attachment.
- principals list(string)
- Principals to share the resources with.
- resources list(object)
- Resources shared using the attachment.
- list(object)
Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- name String
- The Friendly identifier of the attachment.
- principals List<String>
- Principals to share the resources with.
- resources
List<Cross
Account Attachment Resource> - Resources shared using the attachment.
- List<Tag>
Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- name string
- The Friendly identifier of the attachment.
- principals string[]
- Principals to share the resources with.
- resources
Cross
Account Attachment Resource[] - Resources shared using the attachment.
- Tag[]
Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- name str
- The Friendly identifier of the attachment.
- principals Sequence[str]
- Principals to share the resources with.
- resources
Sequence[Cross
Account Attachment Resource Args] - Resources shared using the attachment.
-
Sequence[Tag
Args] Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
- name String
- The Friendly identifier of the attachment.
- principals List<String>
- Principals to share the resources with.
- resources List<Property Map>
- Resources shared using the attachment.
- List<Property Map>
Add tags for a cross-account attachment.
For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .
Outputs
All input properties are implicitly available as output properties. Additionally, the CrossAccountAttachment resource produces the following output properties:
- Attachment
Arn string - The Amazon Resource Name (ARN) of the attachment.
- Id string
- The provider-assigned unique ID for this managed resource.
- Attachment
Arn string - The Amazon Resource Name (ARN) of the attachment.
- Id string
- The provider-assigned unique ID for this managed resource.
- attachment_
arn string - The Amazon Resource Name (ARN) of the attachment.
- id string
- The provider-assigned unique ID for this managed resource.
- attachment
Arn String - The Amazon Resource Name (ARN) of the attachment.
- id String
- The provider-assigned unique ID for this managed resource.
- attachment
Arn string - The Amazon Resource Name (ARN) of the attachment.
- id string
- The provider-assigned unique ID for this managed resource.
- attachment_
arn str - The Amazon Resource Name (ARN) of the attachment.
- id str
- The provider-assigned unique ID for this managed resource.
- attachment
Arn String - The Amazon Resource Name (ARN) of the attachment.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CrossAccountAttachment Resource
Get an existing CrossAccountAttachment 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): CrossAccountAttachment@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None) -> CrossAccountAttachmentfunc GetCrossAccountAttachment(ctx *Context, name string, id IDInput, state *CrossAccountAttachmentState, opts ...ResourceOption) (*CrossAccountAttachment, error)public static CrossAccountAttachment Get(string name, Input<string> id, CustomResourceOptions? opts = null)public static CrossAccountAttachment get(String name, Output<String> id, CustomResourceOptions options)resources: existingCrossAccountAttachment: type: aws-native:globalaccelerator:CrossAccountAttachment get: id: ${id}import {
to = aws-native_globalaccelerator_cross_account_attachment.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 CrossAccountAttachmentState
- 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
CrossAccountAttachmentResource, CrossAccountAttachmentResourceArgs
ARN of resource to share.
- Cidr string
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
- Endpoint
Id string The endpoint ID for the endpoint that is specified as a AWS resource.
An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
- Region string
- The AWS Region where a shared endpoint resource is located.
- Cidr string
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
- Endpoint
Id string The endpoint ID for the endpoint that is specified as a AWS resource.
An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
- Region string
- The AWS Region where a shared endpoint resource is located.
- cidr string
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
- endpoint_
id string The endpoint ID for the endpoint that is specified as a AWS resource.
An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
- region string
- The AWS Region where a shared endpoint resource is located.
- cidr String
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
- endpoint
Id String The endpoint ID for the endpoint that is specified as a AWS resource.
An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
- region String
- The AWS Region where a shared endpoint resource is located.
- cidr string
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
- endpoint
Id string The endpoint ID for the endpoint that is specified as a AWS resource.
An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
- region string
- The AWS Region where a shared endpoint resource is located.
- cidr str
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
- endpoint_
id str The endpoint ID for the endpoint that is specified as a AWS resource.
An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
- region str
- The AWS Region where a shared endpoint resource is located.
- cidr String
An IP address range, in CIDR format, that is specified as resource. The address must be provisioned and advertised in AWS Global Accelerator by following the bring your own IP address (BYOIP) process for Global Accelerator
For more information, see Bring your own IP addresses (BYOIP) in the AWS Global Accelerator Developer Guide.
- endpoint
Id String The endpoint ID for the endpoint that is specified as a AWS resource.
An endpoint ID for the cross-account feature is the ARN of an AWS resource, such as a Network Load Balancer, that Global Accelerator supports as an endpoint for an accelerator.
- region String
- The AWS Region where a shared endpoint resource is located.
Tag, TagArgs
A set of tags to apply to the resource.
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