ProductSubscription constructor

ProductSubscription(
  1. String name, {
  2. ProductSubscriptionArgs? args,
  3. CustomResourceOptions? options,
})

Creates a new ProductSubscription. name The Pulumi resource name. args Arguments used to configure this ProductSubscription. The set of arguments for ProductSubscription. options Resource options controlling this resource's behavior.

Implementation

ProductSubscription(
  String name, {
  ProductSubscriptionArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:securityhub/productSubscription:ProductSubscription',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  productArn = registerOutput<String>('productArn');
  region = registerOutput<String>('region');
}