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.104.0 published on Tuesday, Apr 30, 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.104.0 published on Tuesday, Apr 30, 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>
    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
    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>
    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[]
    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]
    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>

    Supporting Types

    CrossAccountAttachmentResource

    EndpointId string
    Region string
    EndpointId string
    Region string
    endpointId String
    region String
    endpointId string
    region string
    endpointId String
    region String

    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.104.0 published on Tuesday, Apr 30, 2024 by Pulumi