AWS Native is in preview. AWS Classic is fully supported.
aws-native.globalaccelerator.getCrossAccountAttachment
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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:
- Attachment
Arn string - The Amazon Resource Name (ARN) of the attachment.
- Attachment
Arn string - The Amazon Resource Name (ARN) of the attachment.
- attachment
Arn String - The Amazon Resource Name (ARN) of the attachment.
- attachment
Arn string - The Amazon Resource Name (ARN) of the attachment.
- attachment_
arn str - The Amazon Resource Name (ARN) of the attachment.
- attachment
Arn String - The Amazon Resource Name (ARN) of the attachment.
getCrossAccountAttachment Result
The following output properties are available:
- Attachment
Arn 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.
Aws Native. Global Accelerator. Outputs. Cross Account Attachment Resource> - Resources shared using the attachment.
- List<Pulumi.
Aws Native. 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 .
- Attachment
Arn 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
[]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 .
- attachment
Arn 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<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 .
- attachment
Arn 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
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 .
- 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[Cross
Account Attachment Resource] - Resources shared using the attachment.
- 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 .
- attachment
Arn 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.
- 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.