AWS Classic
TopicRuleDestination
Import
IoT topic rule destinations can be imported using the arn
, e.g.,
$ pulumi import aws:iot/topicRuleDestination:TopicRuleDestination example arn:aws:iot:us-west-2:123456789012:ruledestination/vpc/2ce781c8-68a6-4c52-9c62-63fe489ecc60
Create a TopicRuleDestination Resource
new TopicRuleDestination(name: string, args: TopicRuleDestinationArgs, opts?: CustomResourceOptions);
@overload
def TopicRuleDestination(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
vpc_configuration: Optional[TopicRuleDestinationVpcConfigurationArgs] = None)
@overload
def TopicRuleDestination(resource_name: str,
args: TopicRuleDestinationArgs,
opts: Optional[ResourceOptions] = None)
func NewTopicRuleDestination(ctx *Context, name string, args TopicRuleDestinationArgs, opts ...ResourceOption) (*TopicRuleDestination, error)
public TopicRuleDestination(string name, TopicRuleDestinationArgs args, CustomResourceOptions? opts = null)
public TopicRuleDestination(String name, TopicRuleDestinationArgs args)
public TopicRuleDestination(String name, TopicRuleDestinationArgs args, CustomResourceOptions options)
type: aws:iot:TopicRuleDestination
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TopicRuleDestinationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args TopicRuleDestinationArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args TopicRuleDestinationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TopicRuleDestinationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TopicRuleDestinationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TopicRuleDestination Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The TopicRuleDestination resource accepts the following input properties:
- Vpc
Configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- Enabled bool
Whether or not to enable the destination. Default:
true
.
- Vpc
Configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- Enabled bool
Whether or not to enable the destination. Default:
true
.
- vpc
Configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- enabled Boolean
Whether or not to enable the destination. Default:
true
.
- vpc
Configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- enabled boolean
Whether or not to enable the destination. Default:
true
.
- vpc_
configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- enabled bool
Whether or not to enable the destination. Default:
true
.
- vpc
Configuration Property Map Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- enabled Boolean
Whether or not to enable the destination. Default:
true
.
Outputs
All input properties are implicitly available as output properties. Additionally, the TopicRuleDestination resource produces the following output properties:
Look up an Existing TopicRuleDestination Resource
Get an existing TopicRuleDestination resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: TopicRuleDestinationState, opts?: CustomResourceOptions): TopicRuleDestination
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
arn: Optional[str] = None,
enabled: Optional[bool] = None,
vpc_configuration: Optional[TopicRuleDestinationVpcConfigurationArgs] = None) -> TopicRuleDestination
func GetTopicRuleDestination(ctx *Context, name string, id IDInput, state *TopicRuleDestinationState, opts ...ResourceOption) (*TopicRuleDestination, error)
public static TopicRuleDestination Get(string name, Input<string> id, TopicRuleDestinationState? state, CustomResourceOptions? opts = null)
public static TopicRuleDestination get(String name, Output<String> id, TopicRuleDestinationState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Arn string
The ARN of the topic rule destination
- Enabled bool
Whether or not to enable the destination. Default:
true
.- Vpc
Configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- Arn string
The ARN of the topic rule destination
- Enabled bool
Whether or not to enable the destination. Default:
true
.- Vpc
Configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- arn String
The ARN of the topic rule destination
- enabled Boolean
Whether or not to enable the destination. Default:
true
.- vpc
Configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- arn string
The ARN of the topic rule destination
- enabled boolean
Whether or not to enable the destination. Default:
true
.- vpc
Configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- arn str
The ARN of the topic rule destination
- enabled bool
Whether or not to enable the destination. Default:
true
.- vpc_
configuration TopicRule Destination Vpc Configuration Args Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
- arn String
The ARN of the topic rule destination
- enabled Boolean
Whether or not to enable the destination. Default:
true
.- vpc
Configuration Property Map Configuration of the virtual private cloud (VPC) connection. For more info, see the AWS documentation.
Supporting Types
TopicRuleDestinationVpcConfiguration
- Role
Arn string The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
- Subnet
Ids List<string> The subnet IDs of the VPC destination.
- Vpc
Id string The ID of the VPC.
- Security
Groups List<string> The security groups of the VPC destination.
- Role
Arn string The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
- Subnet
Ids []string The subnet IDs of the VPC destination.
- Vpc
Id string The ID of the VPC.
- Security
Groups []string The security groups of the VPC destination.
- role
Arn String The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
- subnet
Ids List<String> The subnet IDs of the VPC destination.
- vpc
Id String The ID of the VPC.
- security
Groups List<String> The security groups of the VPC destination.
- role
Arn string The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
- subnet
Ids string[] The subnet IDs of the VPC destination.
- vpc
Id string The ID of the VPC.
- security
Groups string[] The security groups of the VPC destination.
- role_
arn str The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
- subnet_
ids Sequence[str] The subnet IDs of the VPC destination.
- vpc_
id str The ID of the VPC.
- security_
groups Sequence[str] The security groups of the VPC destination.
- role
Arn String The ARN of a role that has permission to create and attach to elastic network interfaces (ENIs).
- subnet
Ids List<String> The subnet IDs of the VPC destination.
- vpc
Id String The ID of the VPC.
- security
Groups List<String> The security groups of the VPC destination.
Package Details
- Repository
- https://github.com/pulumi/pulumi-aws
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
aws
Terraform Provider.