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

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

aws-native.securityhub.getProductSubscription

Explore with Pulumi AI

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

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi

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>
Copy
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]
Copy
func LookupProductSubscription(ctx *Context, args *LookupProductSubscriptionArgs, opts ...InvokeOption) (*LookupProductSubscriptionResult, error)
func LookupProductSubscriptionOutput(ctx *Context, args *LookupProductSubscriptionOutputArgs, opts ...InvokeOption) LookupProductSubscriptionResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetProductSubscriptionResult> getProductSubscription(GetProductSubscriptionArgs args, InvokeOptions options)
public static Output<GetProductSubscriptionResult> getProductSubscription(GetProductSubscriptionArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: aws-native:securityhub:getProductSubscription
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ProductSubscriptionArn This property is required. string
The ARN of the product subscription for the account
ProductSubscriptionArn This property is required. string
The ARN of the product subscription for the account
productSubscriptionArn This property is required. String
The ARN of the product subscription for the account
productSubscriptionArn This property is required. string
The ARN of the product subscription for the account
product_subscription_arn This property is required. str
The ARN of the product subscription for the account
productSubscriptionArn This property is required. String
The ARN of the product subscription for the account

getProductSubscription Result

The following output properties are available:

ProductSubscriptionArn string
The ARN of the product subscription for the account
ProductSubscriptionArn string
The ARN of the product subscription for the account
productSubscriptionArn String
The ARN of the product subscription for the account
productSubscriptionArn string
The ARN of the product subscription for the account
product_subscription_arn str
The ARN of the product subscription for the account
productSubscriptionArn String
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.

AWS Cloud Control v1.27.0 published on Monday, Apr 14, 2025 by Pulumi