1. Packages
  2. AWS Cloud Control
  3. API Docs
  4. securityhub
  5. HubV2

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

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

aws-native.securityhub.HubV2

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi

    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)
    public HubV2(String name, HubV2Args args)
    public HubV2(String name, HubV2Args args, CustomResourceOptions options)
    
    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:

    Tags Dictionary<string, string>
    The tags to add to the hub V2 resource when you enable Security Hub.
    Tags map[string]string
    The tags to add to the hub V2 resource when you enable Security Hub.
    tags Map<String,String>
    The tags to add to the hub V2 resource when you enable Security Hub.
    tags {[key: string]: string}
    The tags to add to the hub V2 resource when you enable Security Hub.
    tags Mapping[str, str]
    The tags to add to the hub V2 resource when you enable Security Hub.
    tags 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:

    HubV2Arn string
    The Amazon Resource Name of the Security Hub V2 resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    SubscribedAt string
    The date and time when the service was enabled in the account.
    HubV2Arn string
    The Amazon Resource Name of the Security Hub V2 resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    SubscribedAt string
    The date and time when the service was enabled in the account.
    hubV2Arn String
    The Amazon Resource Name of the Security Hub V2 resource.
    id String
    The provider-assigned unique ID for this managed resource.
    subscribedAt String
    The date and time when the service was enabled in the account.
    hubV2Arn string
    The Amazon Resource Name of the Security Hub V2 resource.
    id string
    The provider-assigned unique ID for this managed resource.
    subscribedAt string
    The date and time when the service was enabled in the account.
    hub_v2_arn str
    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.
    hubV2Arn String
    The Amazon Resource Name of the Security Hub V2 resource.
    id String
    The provider-assigned unique ID for this managed resource.
    subscribedAt 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
    aws-native logo

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

    AWS Cloud Control v1.32.0 published on Wednesday, Aug 13, 2025 by Pulumi