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

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.ResourceGroup

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

Create ResourceGroup Resource

Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

Constructor syntax

new ResourceGroup(name: string, args: ResourceGroupArgs, opts?: CustomResourceOptions);
@overload
def ResourceGroup(resource_name: str,
                  args: ResourceGroupArgs,
                  opts: Optional[ResourceOptions] = None)

@overload
def ResourceGroup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  resource_group_tags: Optional[Sequence[ResourceGroupTagArgs]] = None)
func NewResourceGroup(ctx *Context, name string, args ResourceGroupArgs, opts ...ResourceOption) (*ResourceGroup, error)
public ResourceGroup(string name, ResourceGroupArgs args, CustomResourceOptions? opts = null)
public ResourceGroup(String name, ResourceGroupArgs args)
public ResourceGroup(String name, ResourceGroupArgs args, CustomResourceOptions options)
type: aws-native:inspector:ResourceGroup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. ResourceGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. ResourceGroupArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. ResourceGroupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. ResourceGroupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. ResourceGroupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ResourceGroup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

The ResourceGroup resource accepts the following input properties:

ResourceGroupTags This property is required. List<Pulumi.AwsNative.Inspector.Inputs.ResourceGroupTag>

The tags (key and value pairs) that will be associated with the resource group.

For more information, see Tag .

ResourceGroupTags This property is required. []ResourceGroupTagArgs

The tags (key and value pairs) that will be associated with the resource group.

For more information, see Tag .

resourceGroupTags This property is required. List<ResourceGroupTag>

The tags (key and value pairs) that will be associated with the resource group.

For more information, see Tag .

resourceGroupTags This property is required. ResourceGroupTag[]

The tags (key and value pairs) that will be associated with the resource group.

For more information, see Tag .

resource_group_tags This property is required. Sequence[ResourceGroupTagArgs]

The tags (key and value pairs) that will be associated with the resource group.

For more information, see Tag .

resourceGroupTags This property is required. List<Property Map>

The tags (key and value pairs) that will be associated with the resource group.

For more information, see Tag .

Outputs

All input properties are implicitly available as output properties. Additionally, the ResourceGroup resource produces the following output properties:

Arn string
The Amazon Resource Name (ARN) that specifies the resource group that is created.
Id string
The provider-assigned unique ID for this managed resource.
Arn string
The Amazon Resource Name (ARN) that specifies the resource group that is created.
Id string
The provider-assigned unique ID for this managed resource.
arn String
The Amazon Resource Name (ARN) that specifies the resource group that is created.
id String
The provider-assigned unique ID for this managed resource.
arn string
The Amazon Resource Name (ARN) that specifies the resource group that is created.
id string
The provider-assigned unique ID for this managed resource.
arn str
The Amazon Resource Name (ARN) that specifies the resource group that is created.
id str
The provider-assigned unique ID for this managed resource.
arn String
The Amazon Resource Name (ARN) that specifies the resource group that is created.
id String
The provider-assigned unique ID for this managed resource.

Supporting Types

ResourceGroupTag
, ResourceGroupTagArgs

Key This property is required. string
A tag key.
Value This property is required. string
A value assigned to a tag key.
Key This property is required. string
A tag key.
Value This property is required. string
A value assigned to a tag key.
key This property is required. String
A tag key.
value This property is required. String
A value assigned to a tag key.
key This property is required. string
A tag key.
value This property is required. string
A value assigned to a tag key.
key This property is required. str
A tag key.
value This property is required. str
A value assigned to a tag key.
key This property is required. String
A tag key.
value This property is required. String
A value assigned to a tag key.

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