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

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

AWS Native v0.106.0 published on Monday, May 20, 2024 by Pulumi

aws-native.globalaccelerator.getCrossAccountAttachment

Explore with Pulumi AI

aws-native logo

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

AWS Native v0.106.0 published on Monday, May 20, 2024 by Pulumi

    Resource Type definition for AWS::GlobalAccelerator::CrossAccountAttachment

    Using getCrossAccountAttachment

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getCrossAccountAttachment(args: GetCrossAccountAttachmentArgs, opts?: InvokeOptions): Promise<GetCrossAccountAttachmentResult>
    function getCrossAccountAttachmentOutput(args: GetCrossAccountAttachmentOutputArgs, opts?: InvokeOptions): Output<GetCrossAccountAttachmentResult>
    def get_cross_account_attachment(attachment_arn: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetCrossAccountAttachmentResult
    def get_cross_account_attachment_output(attachment_arn: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetCrossAccountAttachmentResult]
    func LookupCrossAccountAttachment(ctx *Context, args *LookupCrossAccountAttachmentArgs, opts ...InvokeOption) (*LookupCrossAccountAttachmentResult, error)
    func LookupCrossAccountAttachmentOutput(ctx *Context, args *LookupCrossAccountAttachmentOutputArgs, opts ...InvokeOption) LookupCrossAccountAttachmentResultOutput

    > Note: This function is named LookupCrossAccountAttachment in the Go SDK.

    public static class GetCrossAccountAttachment 
    {
        public static Task<GetCrossAccountAttachmentResult> InvokeAsync(GetCrossAccountAttachmentArgs args, InvokeOptions? opts = null)
        public static Output<GetCrossAccountAttachmentResult> Invoke(GetCrossAccountAttachmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetCrossAccountAttachmentResult> getCrossAccountAttachment(GetCrossAccountAttachmentArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:globalaccelerator:getCrossAccountAttachment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AttachmentArn string
    The Amazon Resource Name (ARN) of the attachment.
    AttachmentArn string
    The Amazon Resource Name (ARN) of the attachment.
    attachmentArn String
    The Amazon Resource Name (ARN) of the attachment.
    attachmentArn string
    The Amazon Resource Name (ARN) of the attachment.
    attachment_arn str
    The Amazon Resource Name (ARN) of the attachment.
    attachmentArn String
    The Amazon Resource Name (ARN) of the attachment.

    getCrossAccountAttachment Result

    The following output properties are available:

    AttachmentArn string
    The Amazon Resource Name (ARN) of the attachment.
    Name string
    The Friendly identifier of the attachment.
    Principals List<string>
    Principals to share the resources with.
    Resources List<Pulumi.AwsNative.GlobalAccelerator.Outputs.CrossAccountAttachmentResource>
    Resources shared using the attachment.
    Tags List<Pulumi.AwsNative.Outputs.Tag>

    Add tags for a cross-account attachment.

    For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .

    AttachmentArn string
    The Amazon Resource Name (ARN) of the attachment.
    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 .

    attachmentArn String
    The Amazon Resource Name (ARN) of the attachment.
    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 .

    attachmentArn string
    The Amazon Resource Name (ARN) of the attachment.
    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 .

    attachment_arn str
    The Amazon Resource Name (ARN) of the attachment.
    name str
    The Friendly identifier of the attachment.
    principals Sequence[str]
    Principals to share the resources with.
    resources Sequence[CrossAccountAttachmentResource]
    Resources shared using the attachment.
    tags Sequence[root_Tag]

    Add tags for a cross-account attachment.

    For more information, see Tagging in AWS Global Accelerator in the AWS Global Accelerator Developer Guide .

    attachmentArn String
    The Amazon Resource Name (ARN) of the attachment.
    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 .

    Supporting Types

    CrossAccountAttachmentResource

    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

    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.106.0 published on Monday, May 20, 2024 by Pulumi