Class EventTargetState


  • public final class EventTargetState
    extends com.pulumi.resources.ResourceArgs
    • Method Detail

      • appsyncTarget

        public java.util.Optional<com.pulumi.core.Output<EventTargetAppsyncTargetArgs>> appsyncTarget()
        Returns:
        Parameters used when you are using the rule to invoke an AppSync GraphQL API mutation. Documented below. A maximum of 1 are allowed.
      • arn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> arn()
        Returns:
        ARN of the target.
      • batchTarget

        public java.util.Optional<com.pulumi.core.Output<EventTargetBatchTargetArgs>> batchTarget()
        Returns:
        Parameters used when you are using the rule to invoke an Amazon Batch Job. Documented below. A maximum of 1 are allowed.
      • deadLetterConfig

        public java.util.Optional<com.pulumi.core.Output<EventTargetDeadLetterConfigArgs>> deadLetterConfig()
        Returns:
        Parameters used when you are providing a dead letter config. Documented below. A maximum of 1 are allowed.
      • ecsTarget

        public java.util.Optional<com.pulumi.core.Output<EventTargetEcsTargetArgs>> ecsTarget()
        Returns:
        Parameters used when you are using the rule to invoke Amazon ECS Task. Documented below. A maximum of 1 are allowed.
      • eventBusName

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> eventBusName()
        Returns:
        The name or ARN of the event bus to associate with the rule. If you omit this, the `default` event bus is used.
      • forceDestroy

        public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> forceDestroy()
        Returns:
        Used to delete managed rules created by AWS. Defaults to `false`.
      • httpTarget

        public java.util.Optional<com.pulumi.core.Output<EventTargetHttpTargetArgs>> httpTarget()
        Returns:
        Parameters used when you are using the rule to invoke an API Gateway REST endpoint. Documented below. A maximum of 1 is allowed.
      • input

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> input()
        Returns:
        Valid JSON text passed to the target. Conflicts with `inputPath` and `inputTransformer`.
      • inputPath

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> inputPath()
        Returns:
        The value of the [JSONPath](http://goessner.net/articles/JsonPath/) that is used for extracting part of the matched event when passing it to the target. Conflicts with `input` and `inputTransformer`.
      • inputTransformer

        public java.util.Optional<com.pulumi.core.Output<EventTargetInputTransformerArgs>> inputTransformer()
        Returns:
        Parameters used when you are providing a custom input to a target based on certain event data. Conflicts with `input` and `inputPath`.
      • kinesisTarget

        public java.util.Optional<com.pulumi.core.Output<EventTargetKinesisTargetArgs>> kinesisTarget()
        Returns:
        Parameters used when you are using the rule to invoke an Amazon Kinesis Stream. Documented below. A maximum of 1 are allowed.
      • redshiftTarget

        public java.util.Optional<com.pulumi.core.Output<EventTargetRedshiftTargetArgs>> redshiftTarget()
        Returns:
        Parameters used when you are using the rule to invoke an Amazon Redshift Statement. Documented below. A maximum of 1 are allowed.
      • region

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
        Returns:
        Region where this resource will be [managed](https://docs.aws.amazon.com/general/latest/gr/rande.html#regional-endpoints). Defaults to the Region set in the provider configuration.
      • retryPolicy

        public java.util.Optional<com.pulumi.core.Output<EventTargetRetryPolicyArgs>> retryPolicy()
        Returns:
        Parameters used when you are providing retry policies. Documented below. A maximum of 1 are allowed.
      • roleArn

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> roleArn()
        Returns:
        ARN of the IAM role to be used for this target when the rule is triggered. Required if `ecsTarget` is used or target in `arn` is EC2 instance, Kinesis data stream, Step Functions state machine, or Event Bus in different account or region.
      • rule

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> rule()
        Returns:
        The name of the rule you want to add targets to. The following arguments are optional:
      • runCommandTargets

        public java.util.Optional<com.pulumi.core.Output<java.util.List<EventTargetRunCommandTargetArgs>>> runCommandTargets()
        Returns:
        Parameters used when you are using the rule to invoke Amazon EC2 Run Command. Documented below. A maximum of 5 are allowed.
      • sagemakerPipelineTarget

        public java.util.Optional<com.pulumi.core.Output<EventTargetSagemakerPipelineTargetArgs>> sagemakerPipelineTarget()
        Returns:
        Parameters used when you are using the rule to invoke an Amazon SageMaker AI Pipeline. Documented below. A maximum of 1 are allowed.
      • sqsTarget

        public java.util.Optional<com.pulumi.core.Output<EventTargetSqsTargetArgs>> sqsTarget()
        Returns:
        Parameters used when you are using the rule to invoke an Amazon SQS Queue. Documented below. A maximum of 1 are allowed.
      • targetId

        public java.util.Optional<com.pulumi.core.Output<java.lang.String>> targetId()
        Returns:
        The unique target assignment ID. If missing, will generate a random, unique ID.