1. Packages
  2. AWS Native
  3. API Docs
  4. globalaccelerator
  5. CrossAccountAttachment

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.107.0 published on Wednesday, May 22, 2024 by Pulumi

aws-native.globalaccelerator.CrossAccountAttachment

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.107.0 published on Wednesday, May 22, 2024 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.
    
    

    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.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const crossAccountAttachmentResource = new aws_native.globalaccelerator.CrossAccountAttachment("crossAccountAttachmentResource", {
        name: "string",
        principals: ["string"],
        resources: [{
            endpointId: "string",
            region: "string",
        }],
        tags: [{
            key: "string",
            value: "string",
        }],
    });
    
    Coming soon!
    

    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

    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.AwsNative.GlobalAccelerator.Inputs.CrossAccountAttachmentResource>
    Resources shared using the attachment.
    Tags List<Pulumi.AwsNative.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 []CrossAccountAttachmentResourceArgs
    Resources shared using the attachment.
    Tags TagArgs

    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<CrossAccountAttachmentResource>
    Resources shared using the attachment.
    tags 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 CrossAccountAttachmentResource[]
    Resources shared using the attachment.
    tags 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[CrossAccountAttachmentResourceArgs]
    Resources shared using the attachment.
    tags Sequence[TagArgs]

    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.
    tags 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:

    AttachmentArn string
    The Amazon Resource Name (ARN) of the attachment.
    Id string
    The provider-assigned unique ID for this managed resource.
    AttachmentArn string
    The Amazon Resource Name (ARN) of the attachment.
    Id string
    The provider-assigned unique ID for this managed resource.
    attachmentArn String
    The Amazon Resource Name (ARN) of the attachment.
    id String
    The provider-assigned unique ID for this managed resource.
    attachmentArn 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.
    attachmentArn String
    The Amazon Resource Name (ARN) of the attachment.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    CrossAccountAttachmentResource, CrossAccountAttachmentResourceArgs

    EndpointId 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.
    EndpointId 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.
    endpointId 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.
    endpointId 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.
    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.
    endpointId 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

    Key string
    The key name of the tag
    Value string
    The value of the tag
    Key string
    The key name of the tag
    Value string
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag
    key string
    The key name of the tag
    value string
    The value of the tag
    key str
    The key name of the tag
    value str
    The value of the tag
    key String
    The key name of the tag
    value String
    The value of the tag

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.107.0 published on Wednesday, May 22, 2024 by Pulumi