AWS Native is in preview. AWS Classic is fully supported.
aws-native.securityhub.getHub
Explore with Pulumi AI
AWS Native is in preview. AWS Classic is fully supported.
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.
- Auto
Enable boolControls - Whether to automatically enable new controls when they are added to standards that are enabled
- Control
Finding stringGenerator - 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 string - The date and time when Security Hub was enabled in the account.
- 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.
- Auto
Enable boolControls - Whether to automatically enable new controls when they are added to standards that are enabled
- Control
Finding stringGenerator - 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 string - The date and time when Security Hub was enabled in the account.
- 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.
- auto
Enable BooleanControls - Whether to automatically enable new controls when they are added to standards that are enabled
- control
Finding StringGenerator - 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 String - The date and time when Security Hub was enabled in the account.
- 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.
- auto
Enable booleanControls - Whether to automatically enable new controls when they are added to standards that are enabled
- control
Finding stringGenerator - 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 string - The date and time when Security Hub was enabled in the account.
- {[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_ boolcontrols - Whether to automatically enable new controls when they are added to standards that are enabled
- control_
finding_ strgenerator - 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.
- 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.
- auto
Enable BooleanControls - Whether to automatically enable new controls when they are added to standards that are enabled
- control
Finding StringGenerator - 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 String - The date and time when Security Hub was enabled in the account.
- 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 is in preview. AWS Classic is fully supported.