We recommend new projects start with resources from the AWS provider.
aws-native.securityhub.getProductSubscription
Explore with Pulumi AI
We recommend new projects start with resources from the AWS provider.
The AWS::SecurityHub::ProductSubscription resource represents a subscription to a service that is allowed to generate findings for your Security Hub account. One product subscription resource is created for each product enabled.
Using getProductSubscription
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 getProductSubscription(args: GetProductSubscriptionArgs, opts?: InvokeOptions): Promise<GetProductSubscriptionResult>
function getProductSubscriptionOutput(args: GetProductSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetProductSubscriptionResult>
def get_product_subscription(product_subscription_arn: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetProductSubscriptionResult
def get_product_subscription_output(product_subscription_arn: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetProductSubscriptionResult]
func LookupProductSubscription(ctx *Context, args *LookupProductSubscriptionArgs, opts ...InvokeOption) (*LookupProductSubscriptionResult, error)
func LookupProductSubscriptionOutput(ctx *Context, args *LookupProductSubscriptionOutputArgs, opts ...InvokeOption) LookupProductSubscriptionResultOutput
> Note: This function is named LookupProductSubscription
in the Go SDK.
public static class GetProductSubscription
{
public static Task<GetProductSubscriptionResult> InvokeAsync(GetProductSubscriptionArgs args, InvokeOptions? opts = null)
public static Output<GetProductSubscriptionResult> Invoke(GetProductSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProductSubscriptionResult> getProductSubscription(GetProductSubscriptionArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aws-native:securityhub:getProductSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- Product
Subscription stringArn - The ARN of the product subscription for the account
- Product
Subscription stringArn - The ARN of the product subscription for the account
- product
Subscription StringArn - The ARN of the product subscription for the account
- product
Subscription stringArn - The ARN of the product subscription for the account
- product_
subscription_ strarn - The ARN of the product subscription for the account
- product
Subscription StringArn - The ARN of the product subscription for the account
getProductSubscription Result
The following output properties are available:
- Product
Subscription stringArn - The ARN of the product subscription for the account
- Product
Subscription stringArn - The ARN of the product subscription for the account
- product
Subscription StringArn - The ARN of the product subscription for the account
- product
Subscription stringArn - The ARN of the product subscription for the account
- product_
subscription_ strarn - The ARN of the product subscription for the account
- product
Subscription StringArn - The ARN of the product subscription for 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.