We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
aws-native.inspector.getResourceGroup
Start a Neo task
Explain and create an aws-native.inspector.getResourceGroup resource
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 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>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)
public static Output<GetResourceGroupResult> getResourceGroup(GetResourceGroupArgs args, InvokeOptions options)
fn::invoke:
function: aws-native:inspector:getResourceGroup
arguments:
# arguments dictionaryThe 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
We recommend new projects start with resources from the AWS provider.
AWS Cloud Control v1.38.0 published on Wednesday, Nov 5, 2025 by Pulumi
