1. Packages
  2. AWS Native
  3. API Docs
  4. securityhub
  5. getHub

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

aws-native.securityhub.getHub

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi

    The AWS::SecurityHub::Hub resource represents the implementation of the AWS Security Hub service in your account. One hub resource is created for each Region in which you enable Security Hub.

    Using getHub

    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 getHub(args: GetHubArgs, opts?: InvokeOptions): Promise<GetHubResult>
    function getHubOutput(args: GetHubOutputArgs, opts?: InvokeOptions): Output<GetHubResult>
    def get_hub(arn: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetHubResult
    def get_hub_output(arn: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetHubResult]
    func LookupHub(ctx *Context, args *LookupHubArgs, opts ...InvokeOption) (*LookupHubResult, error)
    func LookupHubOutput(ctx *Context, args *LookupHubOutputArgs, opts ...InvokeOption) LookupHubResultOutput

    > Note: This function is named LookupHub in the Go SDK.

    public static class GetHub 
    {
        public static Task<GetHubResult> InvokeAsync(GetHubArgs args, InvokeOptions? opts = null)
        public static Output<GetHubResult> Invoke(GetHubInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetHubResult> getHub(GetHubArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: aws-native:securityhub:getHub
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Arn string
    An ARN is automatically created for the customer.
    Arn string
    An ARN is automatically created for the customer.
    arn String
    An ARN is automatically created for the customer.
    arn string
    An ARN is automatically created for the customer.
    arn str
    An ARN is automatically created for the customer.
    arn String
    An ARN is automatically created for the customer.

    getHub Result

    The following output properties are available:

    Arn string
    An ARN is automatically created for the customer.
    AutoEnableControls bool
    Whether to automatically enable new controls when they are added to standards that are enabled
    ControlFindingGenerator string
    This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
    SubscribedAt string
    The date and time when Security Hub was enabled in the account.
    Tags Dictionary<string, string>

    An array of key-value pairs to apply to this resource.

    For more information, see Tag .

    Arn string
    An ARN is automatically created for the customer.
    AutoEnableControls bool
    Whether to automatically enable new controls when they are added to standards that are enabled
    ControlFindingGenerator string
    This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
    SubscribedAt string
    The date and time when Security Hub was enabled in the account.
    Tags map[string]string

    An array of key-value pairs to apply to this resource.

    For more information, see Tag .

    arn String
    An ARN is automatically created for the customer.
    autoEnableControls Boolean
    Whether to automatically enable new controls when they are added to standards that are enabled
    controlFindingGenerator String
    This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
    subscribedAt String
    The date and time when Security Hub was enabled in the account.
    tags Map<String,String>

    An array of key-value pairs to apply to this resource.

    For more information, see Tag .

    arn string
    An ARN is automatically created for the customer.
    autoEnableControls boolean
    Whether to automatically enable new controls when they are added to standards that are enabled
    controlFindingGenerator string
    This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
    subscribedAt string
    The date and time when Security Hub was enabled in the account.
    tags {[key: string]: string}

    An array of key-value pairs to apply to this resource.

    For more information, see Tag .

    arn str
    An ARN is automatically created for the customer.
    auto_enable_controls bool
    Whether to automatically enable new controls when they are added to standards that are enabled
    control_finding_generator str
    This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
    subscribed_at str
    The date and time when Security Hub was enabled in the account.
    tags Mapping[str, str]

    An array of key-value pairs to apply to this resource.

    For more information, see Tag .

    arn String
    An ARN is automatically created for the customer.
    autoEnableControls Boolean
    Whether to automatically enable new controls when they are added to standards that are enabled
    controlFindingGenerator String
    This field, used when enabling Security Hub, specifies whether the calling account has consolidated control findings turned on. If the value for this field is set to SECURITY_CONTROL, Security Hub generates a single finding for a control check even when the check applies to multiple enabled standards. If the value for this field is set to STANDARD_CONTROL, Security Hub generates separate findings for a control check when the check applies to multiple enabled standards.
    subscribedAt String
    The date and time when Security Hub was enabled in the account.
    tags Map<String>

    An array of key-value pairs to apply to this resource.

    For more information, see Tag .

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.109.0 published on Wednesday, Jun 26, 2024 by Pulumi