AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.102.0 published on Tuesday, Apr 16, 2024 by Pulumi
aws-native.inspector.getResourceGroup
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
AWS Native v0.102.0 published on Tuesday, Apr 16, 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
- Arn string
- arn String
- arn string
- arn str
- arn String
getResourceGroup Result
The following output properties are available:
- Arn string
- Arn string
- arn String
- arn string
- arn str
- arn String
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.102.0 published on Tuesday, Apr 16, 2024 by Pulumi