1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. ec2
  5. getPlacementGroup

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.ec2.getPlacementGroup

Explore with Pulumi AI

aws-native logo

We recommend new projects start with resources from the AWS provider.

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi

    Resource Type definition for AWS::EC2::PlacementGroup

    Using getPlacementGroup

    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 getPlacementGroup(args: GetPlacementGroupArgs, opts?: InvokeOptions): Promise<GetPlacementGroupResult>
    function getPlacementGroupOutput(args: GetPlacementGroupOutputArgs, opts?: InvokeOptions): Output<GetPlacementGroupResult>
    def get_placement_group(group_name: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetPlacementGroupResult
    def get_placement_group_output(group_name: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetPlacementGroupResult]
    func LookupPlacementGroup(ctx *Context, args *LookupPlacementGroupArgs, opts ...InvokeOption) (*LookupPlacementGroupResult, error)
    func LookupPlacementGroupOutput(ctx *Context, args *LookupPlacementGroupOutputArgs, opts ...InvokeOption) LookupPlacementGroupResultOutput

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

    public static class GetPlacementGroup 
    {
        public static Task<GetPlacementGroupResult> InvokeAsync(GetPlacementGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetPlacementGroupResult> Invoke(GetPlacementGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetPlacementGroupResult> getPlacementGroup(GetPlacementGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:ec2:getPlacementGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    GroupName string
    The Group Name of Placement Group.
    GroupName string
    The Group Name of Placement Group.
    groupName String
    The Group Name of Placement Group.
    groupName string
    The Group Name of Placement Group.
    group_name str
    The Group Name of Placement Group.
    groupName String
    The Group Name of Placement Group.

    getPlacementGroup Result

    The following output properties are available:

    GroupName string
    The Group Name of Placement Group.
    GroupName string
    The Group Name of Placement Group.
    groupName String
    The Group Name of Placement Group.
    groupName string
    The Group Name of Placement Group.
    group_name str
    The Group Name of Placement Group.
    groupName String
    The Group Name of Placement Group.

    Package Details

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

    We recommend new projects start with resources from the AWS provider.

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi