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 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:
- 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>
- 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
- 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>
- 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[]
- 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]
- 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>
Supporting Types
CrossAccountAttachmentResource
- Endpoint
Id string - Region string
- Endpoint
Id string - Region string
- endpoint
Id String - region String
- endpoint
Id string - region string
- endpoint_
id str - region str
- endpoint
Id String - region String
Tag
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.104.0 published on Tuesday, Apr 30, 2024 by Pulumi