1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. inspector
  5. getResourceGroup

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.inspector.getResourceGroup

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::Inspector::ResourceGroup

    Using getResourceGroup

    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 getResourceGroup(args: GetResourceGroupArgs, opts?: InvokeOptions): Promise<GetResourceGroupResult>
    function getResourceGroupOutput(args: GetResourceGroupOutputArgs, opts?: InvokeOptions): Output<GetResourceGroupResult>
    def get_resource_group(arn: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetResourceGroupResult
    def get_resource_group_output(arn: Optional[pulumi.Input[str]] = None,
                           opts: Optional[InvokeOptions] = None) -> Output[GetResourceGroupResult]
    func LookupResourceGroup(ctx *Context, args *LookupResourceGroupArgs, opts ...InvokeOption) (*LookupResourceGroupResult, error)
    func LookupResourceGroupOutput(ctx *Context, args *LookupResourceGroupOutputArgs, opts ...InvokeOption) LookupResourceGroupResultOutput

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

    public static class GetResourceGroup 
    {
        public static Task<GetResourceGroupResult> InvokeAsync(GetResourceGroupArgs args, InvokeOptions? opts = null)
        public static Output<GetResourceGroupResult> Invoke(GetResourceGroupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetResourceGroupResult> getResourceGroup(GetResourceGroupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:inspector:getResourceGroup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    Arn string
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    arn String
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    arn string
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    arn str
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    arn String
    The Amazon Resource Name (ARN) that specifies the resource group that is created.

    getResourceGroup Result

    The following output properties are available:

    Arn string
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    Arn string
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    arn String
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    arn string
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    arn str
    The Amazon Resource Name (ARN) that specifies the resource group that is created.
    arn String
    The Amazon Resource Name (ARN) that specifies the resource group that is created.

    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