TopicRuleDestination constructor

TopicRuleDestination(
  1. String name, {
  2. TopicRuleDestinationArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

TopicRuleDestination(
  String name, {
  TopicRuleDestinationArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'aws:iot/topicRuleDestination:TopicRuleDestination',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        pulumi.CustomResourceOptions(version: '7.44.0').merge(options),
      ) {
  arn = registerOutput<String>('arn');
  enabled = registerOutput<bool?>('enabled');
  region = registerOutput<String>('region');
  vpcConfiguration = registerOutput<TopicRuleDestinationVpcConfiguration>('vpcConfiguration', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return TopicRuleDestinationVpcConfiguration.fromMap((guardedValue as Map).cast<String, dynamic>()); });
}