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.9.0 published on Monday, Nov 18, 2024 by Pulumi

aws-native.securityhub.getProductSubscription

Explore with Pulumi AI

aws-native logo

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

AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 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>
    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:

    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

    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
    aws-native logo

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

    AWS Cloud Control v1.9.0 published on Monday, Nov 18, 2024 by Pulumi