We recommend new projects start with resources from the AWS provider.
aws-native.securityhub.getHubV2
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.
Using getHubV2
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 getHubV2(args: GetHubV2Args, opts?: InvokeOptions): Promise<GetHubV2Result>
function getHubV2Output(args: GetHubV2OutputArgs, opts?: InvokeOptions): Output<GetHubV2Result>
def get_hub_v2(hub_v2_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetHubV2Result
def get_hub_v2_output(hub_v2_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetHubV2Result]
func LookupHubV2(ctx *Context, args *LookupHubV2Args, opts ...InvokeOption) (*LookupHubV2Result, error)
func LookupHubV2Output(ctx *Context, args *LookupHubV2OutputArgs, opts ...InvokeOption) LookupHubV2ResultOutput
> Note: This function is named LookupHubV2
in the Go SDK.
public static class GetHubV2
{
public static Task<GetHubV2Result> InvokeAsync(GetHubV2Args args, InvokeOptions? opts = null)
public static Output<GetHubV2Result> Invoke(GetHubV2InvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetHubV2Result> getHubV2(GetHubV2Args args, InvokeOptions options)
public static Output<GetHubV2Result> getHubV2(GetHubV2Args args, InvokeOptions options)
fn::invoke:
function: aws-native:securityhub:getHubV2
arguments:
# arguments dictionary
The following arguments are supported:
- Hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- Hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- hub
V2Arn String - The Amazon Resource Name of the Security Hub V2 resource.
- hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- hub_
v2_ strarn - The Amazon Resource Name of the Security Hub V2 resource.
- hub
V2Arn String - The Amazon Resource Name of the Security Hub V2 resource.
getHubV2 Result
The following output properties are available:
- Hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- Subscribed
At string - The date and time when the service was enabled in the account.
- Dictionary<string, string>
- The tags to add to the hub V2 resource when you enable Security Hub.
- Hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- Subscribed
At string - The date and time when the service was enabled in the account.
- map[string]string
- The tags to add to the hub V2 resource when you enable Security Hub.
- hub
V2Arn String - The Amazon Resource Name of the Security Hub V2 resource.
- subscribed
At String - The date and time when the service was enabled in the account.
- Map<String,String>
- The tags to add to the hub V2 resource when you enable Security Hub.
- hub
V2Arn string - The Amazon Resource Name of the Security Hub V2 resource.
- subscribed
At string - The date and time when the service was enabled in the account.
- {[key: string]: string}
- The tags to add to the hub V2 resource when you enable Security Hub.
- hub_
v2_ strarn - The Amazon Resource Name of the Security Hub V2 resource.
- subscribed_
at str - The date and time when the service was enabled in the account.
- Mapping[str, str]
- The tags to add to the hub V2 resource when you enable Security Hub.
- hub
V2Arn String - The Amazon Resource Name of the Security Hub V2 resource.
- subscribed
At String - The date and time when the service was enabled in the account.
- Map<String>
- The tags to add to the hub V2 resource when you enable Security Hub.
Package Details
- Repository
- AWS Native pulumi/pulumi-aws-native
- License
- Apache-2.0
We recommend new projects start with resources from the AWS provider.