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.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.inspector.getResourceGroup

Explore with Pulumi AI

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 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>
Copy
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]
Copy
func LookupResourceGroup(ctx *Context, args *LookupResourceGroupArgs, opts ...InvokeOption) (*LookupResourceGroupResult, error)
func LookupResourceGroupOutput(ctx *Context, args *LookupResourceGroupOutputArgs, opts ...InvokeOption) LookupResourceGroupResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetResourceGroupResult> getResourceGroup(GetResourceGroupArgs args, InvokeOptions options)
public static Output<GetResourceGroupResult> getResourceGroup(GetResourceGroupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:inspector:getResourceGroup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Arn This property is required. string
The Amazon Resource Name (ARN) that specifies the resource group that is created.
Arn This property is required. string
The Amazon Resource Name (ARN) that specifies the resource group that is created.
arn This property is required. String
The Amazon Resource Name (ARN) that specifies the resource group that is created.
arn This property is required. string
The Amazon Resource Name (ARN) that specifies the resource group that is created.
arn This property is required. str
The Amazon Resource Name (ARN) that specifies the resource group that is created.
arn This property is required. 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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi