We recommend new projects start with resources from the AWS provider.
aws-native.securityhub.HubV2
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::SecurityHub::HubV2 resource represents the implementation of the AWS Security Hub V2 service in your account. Only one hubv2 resource can created in each region in which you enable Security Hub V2.
Create HubV2 Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new HubV2(name: string, args?: HubV2Args, opts?: CustomResourceOptions);
@overload
def HubV2(resource_name: str,
args: Optional[HubV2Args] = None,
opts: Optional[ResourceOptions] = None)
@overload
def HubV2(resource_name: str,
opts: Optional[ResourceOptions] = None,
tags: Optional[Mapping[str, str]] = None)
func NewHubV2(ctx *Context, name string, args *HubV2Args, opts ...ResourceOption) (*HubV2, error)
public HubV2(string name, HubV2Args? args = null, CustomResourceOptions? opts = null)
type: aws-native:securityhub:HubV2
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args HubV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args HubV2Args
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args HubV2Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args HubV2Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args HubV2Args
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
HubV2 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 HubV2 resource accepts the following input properties:
- Dictionary<string, string>
- The tags to add to the hub V2 resource when you enable Security Hub.
- map[string]string
- The tags to add to the hub V2 resource when you enable Security Hub.
- Map<String,String>
- The tags to add to the hub V2 resource when you enable Security Hub.
- {[key: string]: string}
- The tags to add to the hub V2 resource when you enable Security Hub.
- Mapping[str, str]
- The tags to add to the hub V2 resource when you enable Security Hub.
- Map<String>
- The tags to add to the hub V2 resource when you enable Security Hub.
Outputs
All input properties are implicitly available as output properties. Additionally, the HubV2 resource produces the following output properties:
- Hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subscribed
At string - The date and time when the service was enabled in the account.
- Hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- Subscribed
At string - The date and time when the service was enabled in the account.
- hub
V2Arn String - The Amazon Resource Name of the Security Hub V2 resource.
- id String
- The provider-assigned unique ID for this managed resource.
- subscribed
At String - The date and time when the service was enabled in the account.
- hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- id string
- The provider-assigned unique ID for this managed resource.
- subscribed
At string - The date and time when the service was enabled in the account.
- hub_
v2_ strarn - The Amazon Resource Name of the Security Hub V2 resource.
- id str
- The provider-assigned unique ID for this managed resource.
- subscribed_
at str - The date and time when the service was enabled in the account.
- hub
V2Arn String - The Amazon Resource Name of the Security Hub V2 resource.
- id String
- The provider-assigned unique ID for this managed resource.
- subscribed
At String - The date and time when the service was enabled in the account.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.