1. Packages
  2. AWS Native
  3. API Docs
  4. events
  5. Rule

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

aws-native.events.Rule

Explore with Pulumi AI

aws-native logo

AWS Native is in preview. AWS Classic is fully supported.

AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi

    Resource Type definition for AWS::Events::Rule

    Example Usage

    Example

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AwsNative = Pulumi.AwsNative;
    
    return await Deployment.RunAsync(() => 
    {
        var eventBridgeIAMrole = new AwsNative.Iam.Role("eventBridgeIAMrole", new()
        {
            AssumeRolePolicyDocument = new Dictionary<string, object?>
            {
                ["version"] = "2012-10-17",
                ["statement"] = new[]
                {
                    new Dictionary<string, object?>
                    {
                        ["effect"] = "Allow",
                        ["principal"] = new Dictionary<string, object?>
                        {
                            ["service"] = "events.amazonaws.com",
                        },
                        ["action"] = "sts:AssumeRole",
                    },
                },
            },
            Path = "/",
            Policies = new[]
            {
                new AwsNative.Iam.Inputs.RolePolicyArgs
                {
                    PolicyName = "PutEventsDestinationBus",
                    PolicyDocument = new Dictionary<string, object?>
                    {
                        ["version"] = "2012-10-17",
                        ["statement"] = new[]
                        {
                            new Dictionary<string, object?>
                            {
                                ["effect"] = "Allow",
                                ["action"] = new[]
                                {
                                    "events:PutEvents",
                                },
                                ["resource"] = new[]
                                {
                                    "arn:aws:events:us-east-1:123456789012:event-bus/CrossRegionDestinationBus",
                                },
                            },
                        },
                    },
                },
            },
        });
    
        var eventRuleRegion1 = new AwsNative.Events.Rule("eventRuleRegion1", new()
        {
            Description = "Routes to us-east-1 event bus",
            EventBusName = "MyBusName",
            State = AwsNative.Events.RuleState.Enabled,
            EventPattern = new Dictionary<string, object?>
            {
                ["source"] = new[]
                {
                    "MyTestApp",
                },
                ["detail"] = new[]
                {
                    "MyTestAppDetail",
                },
            },
            Targets = new[]
            {
                new AwsNative.Events.Inputs.RuleTargetArgs
                {
                    Arn = "arn:aws:events:us-east-1:123456789012:event-bus/CrossRegionDestinationBus",
                    Id = " CrossRegionDestinationBus",
                    RoleArn = eventBridgeIAMrole.Arn,
                },
            },
        });
    
    });
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/events"
    	"github.com/pulumi/pulumi-aws-native/sdk/go/aws/iam"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		eventBridgeIAMrole, err := iam.NewRole(ctx, "eventBridgeIAMrole", &iam.RoleArgs{
    			AssumeRolePolicyDocument: pulumi.Any(map[string]interface{}{
    				"version": "2012-10-17",
    				"statement": []map[string]interface{}{
    					map[string]interface{}{
    						"effect": "Allow",
    						"principal": map[string]interface{}{
    							"service": "events.amazonaws.com",
    						},
    						"action": "sts:AssumeRole",
    					},
    				},
    			}),
    			Path: pulumi.String("/"),
    			Policies: iam.RolePolicyTypeArray{
    				&iam.RolePolicyTypeArgs{
    					PolicyName: pulumi.String("PutEventsDestinationBus"),
    					PolicyDocument: pulumi.Any(map[string]interface{}{
    						"version": "2012-10-17",
    						"statement": []map[string]interface{}{
    							map[string]interface{}{
    								"effect": "Allow",
    								"action": []string{
    									"events:PutEvents",
    								},
    								"resource": []string{
    									"arn:aws:events:us-east-1:123456789012:event-bus/CrossRegionDestinationBus",
    								},
    							},
    						},
    					}),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = events.NewRule(ctx, "eventRuleRegion1", &events.RuleArgs{
    			Description:  pulumi.String("Routes to us-east-1 event bus"),
    			EventBusName: pulumi.String("MyBusName"),
    			State:        events.RuleStateEnabled,
    			EventPattern: pulumi.Any(map[string]interface{}{
    				"source": []string{
    					"MyTestApp",
    				},
    				"detail": []string{
    					"MyTestAppDetail",
    				},
    			}),
    			Targets: events.RuleTargetArray{
    				&events.RuleTargetArgs{
    					Arn:     pulumi.String("arn:aws:events:us-east-1:123456789012:event-bus/CrossRegionDestinationBus"),
    					Id:      pulumi.String(" CrossRegionDestinationBus"),
    					RoleArn: eventBridgeIAMrole.Arn,
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    

    Coming soon!

    import pulumi
    import pulumi_aws_native as aws_native
    
    event_bridge_ia_mrole = aws_native.iam.Role("eventBridgeIAMrole",
        assume_role_policy_document={
            "version": "2012-10-17",
            "statement": [{
                "effect": "Allow",
                "principal": {
                    "service": "events.amazonaws.com",
                },
                "action": "sts:AssumeRole",
            }],
        },
        path="/",
        policies=[aws_native.iam.RolePolicyArgs(
            policy_name="PutEventsDestinationBus",
            policy_document={
                "version": "2012-10-17",
                "statement": [{
                    "effect": "Allow",
                    "action": ["events:PutEvents"],
                    "resource": ["arn:aws:events:us-east-1:123456789012:event-bus/CrossRegionDestinationBus"],
                }],
            },
        )])
    event_rule_region1 = aws_native.events.Rule("eventRuleRegion1",
        description="Routes to us-east-1 event bus",
        event_bus_name="MyBusName",
        state=aws_native.events.RuleState.ENABLED,
        event_pattern={
            "source": ["MyTestApp"],
            "detail": ["MyTestAppDetail"],
        },
        targets=[aws_native.events.RuleTargetArgs(
            arn="arn:aws:events:us-east-1:123456789012:event-bus/CrossRegionDestinationBus",
            id=" CrossRegionDestinationBus",
            role_arn=event_bridge_ia_mrole.arn,
        )])
    
    import * as pulumi from "@pulumi/pulumi";
    import * as aws_native from "@pulumi/aws-native";
    
    const eventBridgeIAMrole = new aws_native.iam.Role("eventBridgeIAMrole", {
        assumeRolePolicyDocument: {
            version: "2012-10-17",
            statement: [{
                effect: "Allow",
                principal: {
                    service: "events.amazonaws.com",
                },
                action: "sts:AssumeRole",
            }],
        },
        path: "/",
        policies: [{
            policyName: "PutEventsDestinationBus",
            policyDocument: {
                version: "2012-10-17",
                statement: [{
                    effect: "Allow",
                    action: ["events:PutEvents"],
                    resource: ["arn:aws:events:us-east-1:123456789012:event-bus/CrossRegionDestinationBus"],
                }],
            },
        }],
    });
    const eventRuleRegion1 = new aws_native.events.Rule("eventRuleRegion1", {
        description: "Routes to us-east-1 event bus",
        eventBusName: "MyBusName",
        state: aws_native.events.RuleState.Enabled,
        eventPattern: {
            source: ["MyTestApp"],
            detail: ["MyTestAppDetail"],
        },
        targets: [{
            arn: "arn:aws:events:us-east-1:123456789012:event-bus/CrossRegionDestinationBus",
            id: " CrossRegionDestinationBus",
            roleArn: eventBridgeIAMrole.arn,
        }],
    });
    

    Coming soon!

    Create Rule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Rule(name: string, args?: RuleArgs, opts?: CustomResourceOptions);
    @overload
    def Rule(resource_name: str,
             args: Optional[RuleArgs] = None,
             opts: Optional[ResourceOptions] = None)
    
    @overload
    def Rule(resource_name: str,
             opts: Optional[ResourceOptions] = None,
             description: Optional[str] = None,
             event_bus_name: Optional[str] = None,
             event_pattern: Optional[Any] = None,
             name: Optional[str] = None,
             role_arn: Optional[str] = None,
             schedule_expression: Optional[str] = None,
             state: Optional[RuleState] = None,
             targets: Optional[Sequence[RuleTargetArgs]] = None)
    func NewRule(ctx *Context, name string, args *RuleArgs, opts ...ResourceOption) (*Rule, error)
    public Rule(string name, RuleArgs? args = null, CustomResourceOptions? opts = null)
    public Rule(String name, RuleArgs args)
    public Rule(String name, RuleArgs args, CustomResourceOptions options)
    
    type: aws-native:events:Rule
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RuleArgs
    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 RuleArgs
    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 RuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RuleArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Example

    The following reference example uses placeholder values for all input properties.

    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    Coming soon!
    
    const aws_nativeRuleResource = new aws_native.events.Rule("aws-nativeRuleResource", {
        description: "string",
        eventBusName: "string",
        eventPattern: "any",
        name: "string",
        roleArn: "string",
        scheduleExpression: "string",
        state: aws_native.events.RuleState.Disabled,
        targets: [{
            id: "string",
            arn: "string",
            inputPath: "string",
            inputTransformer: {
                inputTemplate: "string",
                inputPathsMap: {
                    string: "string",
                },
            },
            ecsParameters: {
                taskDefinitionArn: "string",
                placementConstraints: [{
                    expression: "string",
                    type: "string",
                }],
                enableExecuteCommand: false,
                group: "string",
                launchType: "string",
                networkConfiguration: {
                    awsVpcConfiguration: {
                        subnets: ["string"],
                        assignPublicIp: "string",
                        securityGroups: ["string"],
                    },
                },
                capacityProviderStrategy: [{
                    capacityProvider: "string",
                    base: 0,
                    weight: 0,
                }],
                placementStrategies: [{
                    field: "string",
                    type: "string",
                }],
                platformVersion: "string",
                propagateTags: "string",
                referenceId: "string",
                tagList: [{
                    key: "string",
                    value: "string",
                }],
                taskCount: 0,
                enableEcsManagedTags: false,
            },
            httpParameters: {
                headerParameters: {
                    string: "string",
                },
                pathParameterValues: ["string"],
                queryStringParameters: {
                    string: "string",
                },
            },
            batchParameters: {
                jobDefinition: "string",
                jobName: "string",
                arrayProperties: {
                    size: 0,
                },
                retryStrategy: {
                    attempts: 0,
                },
            },
            input: "string",
            appSyncParameters: {
                graphQlOperation: "string",
            },
            deadLetterConfig: {
                arn: "string",
            },
            kinesisParameters: {
                partitionKeyPath: "string",
            },
            redshiftDataParameters: {
                database: "string",
                dbUser: "string",
                secretManagerArn: "string",
                sql: "string",
                sqls: ["string"],
                statementName: "string",
                withEvent: false,
            },
            retryPolicy: {
                maximumEventAgeInSeconds: 0,
                maximumRetryAttempts: 0,
            },
            roleArn: "string",
            runCommandParameters: {
                runCommandTargets: [{
                    key: "string",
                    values: ["string"],
                }],
            },
            sageMakerPipelineParameters: {
                pipelineParameterList: [{
                    name: "string",
                    value: "string",
                }],
            },
            sqsParameters: {
                messageGroupId: "string",
            },
        }],
    });
    
    Coming soon!
    

    Rule 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 Rule resource accepts the following input properties:

    Description string
    The description of the rule.
    EventBusName string
    The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
    EventPattern object

    The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

    Search the CloudFormation User Guide for AWS::Events::Rule for more information about the expected schema for this property.

    Name string
    The name of the rule.
    RoleArn string
    The Amazon Resource Name (ARN) of the role that is used for target invocation.
    ScheduleExpression string
    The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.
    State Pulumi.AwsNative.Events.RuleState
    The state of the rule.
    Targets List<Pulumi.AwsNative.Events.Inputs.RuleTarget>
    Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered.
    Description string
    The description of the rule.
    EventBusName string
    The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
    EventPattern interface{}

    The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

    Search the CloudFormation User Guide for AWS::Events::Rule for more information about the expected schema for this property.

    Name string
    The name of the rule.
    RoleArn string
    The Amazon Resource Name (ARN) of the role that is used for target invocation.
    ScheduleExpression string
    The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.
    State RuleStateEnum
    The state of the rule.
    Targets []RuleTargetArgs
    Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered.
    description String
    The description of the rule.
    eventBusName String
    The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
    eventPattern Object

    The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

    Search the CloudFormation User Guide for AWS::Events::Rule for more information about the expected schema for this property.

    name String
    The name of the rule.
    roleArn String
    The Amazon Resource Name (ARN) of the role that is used for target invocation.
    scheduleExpression String
    The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.
    state RuleState
    The state of the rule.
    targets List<RuleTarget>
    Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered.
    description string
    The description of the rule.
    eventBusName string
    The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
    eventPattern any

    The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

    Search the CloudFormation User Guide for AWS::Events::Rule for more information about the expected schema for this property.

    name string
    The name of the rule.
    roleArn string
    The Amazon Resource Name (ARN) of the role that is used for target invocation.
    scheduleExpression string
    The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.
    state RuleState
    The state of the rule.
    targets RuleTarget[]
    Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered.
    description str
    The description of the rule.
    event_bus_name str
    The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
    event_pattern Any

    The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

    Search the CloudFormation User Guide for AWS::Events::Rule for more information about the expected schema for this property.

    name str
    The name of the rule.
    role_arn str
    The Amazon Resource Name (ARN) of the role that is used for target invocation.
    schedule_expression str
    The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.
    state RuleState
    The state of the rule.
    targets Sequence[RuleTargetArgs]
    Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered.
    description String
    The description of the rule.
    eventBusName String
    The name or ARN of the event bus associated with the rule. If you omit this, the default event bus is used.
    eventPattern Any

    The event pattern of the rule. For more information, see Events and Event Patterns in the Amazon EventBridge User Guide.

    Search the CloudFormation User Guide for AWS::Events::Rule for more information about the expected schema for this property.

    name String
    The name of the rule.
    roleArn String
    The Amazon Resource Name (ARN) of the role that is used for target invocation.
    scheduleExpression String
    The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5 minutes)". For more information, see Creating an Amazon EventBridge rule that runs on a schedule.
    state "DISABLED" | "ENABLED" | "ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS"
    The state of the rule.
    targets List<Property Map>
    Adds the specified targets to the specified rule, or updates the targets if they are already associated with the rule. Targets are the resources that are invoked when a rule is triggered.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Rule resource produces the following output properties:

    Arn string
    The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example.
    Id string
    The provider-assigned unique ID for this managed resource.
    Arn string
    The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example.
    Id string
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example.
    id String
    The provider-assigned unique ID for this managed resource.
    arn string
    The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example.
    id string
    The provider-assigned unique ID for this managed resource.
    arn str
    The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example.
    id str
    The provider-assigned unique ID for this managed resource.
    arn String
    The ARN of the rule, such as arn:aws:events:us-east-2:123456789012:rule/example.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    RuleAppSyncParameters, RuleAppSyncParametersArgs

    RuleAwsVpcConfiguration, RuleAwsVpcConfigurationArgs

    Subnets List<string>
    AssignPublicIp string
    SecurityGroups List<string>
    Subnets []string
    AssignPublicIp string
    SecurityGroups []string
    subnets List<String>
    assignPublicIp String
    securityGroups List<String>
    subnets string[]
    assignPublicIp string
    securityGroups string[]
    subnets Sequence[str]
    assign_public_ip str
    security_groups Sequence[str]
    subnets List<String>
    assignPublicIp String
    securityGroups List<String>

    RuleBatchArrayProperties, RuleBatchArrayPropertiesArgs

    Size int
    Size int
    size Integer
    size number
    size int
    size Number

    RuleBatchParameters, RuleBatchParametersArgs

    RuleBatchRetryStrategy, RuleBatchRetryStrategyArgs

    attempts Integer
    attempts number
    attempts Number

    RuleCapacityProviderStrategyItem, RuleCapacityProviderStrategyItemArgs

    capacityProvider String
    base Integer
    weight Integer
    capacityProvider string
    base number
    weight number
    capacityProvider String
    base Number
    weight Number

    RuleDeadLetterConfig, RuleDeadLetterConfigArgs

    Arn string
    Arn string
    arn String
    arn string
    arn str
    arn String

    RuleEcsParameters, RuleEcsParametersArgs

    RuleHttpParameters, RuleHttpParametersArgs

    HeaderParameters Dictionary<string, string>
    PathParameterValues List<string>
    QueryStringParameters Dictionary<string, string>
    HeaderParameters map[string]string
    PathParameterValues []string
    QueryStringParameters map[string]string
    headerParameters Map<String,String>
    pathParameterValues List<String>
    queryStringParameters Map<String,String>
    headerParameters {[key: string]: string}
    pathParameterValues string[]
    queryStringParameters {[key: string]: string}
    header_parameters Mapping[str, str]
    path_parameter_values Sequence[str]
    query_string_parameters Mapping[str, str]

    RuleInputTransformer, RuleInputTransformerArgs

    InputTemplate string
    InputPathsMap Dictionary<string, string>
    InputTemplate string
    InputPathsMap map[string]string
    inputTemplate String
    inputPathsMap Map<String,String>
    inputTemplate string
    inputPathsMap {[key: string]: string}
    input_template str
    input_paths_map Mapping[str, str]
    inputTemplate String
    inputPathsMap Map<String>

    RuleKinesisParameters, RuleKinesisParametersArgs

    RuleNetworkConfiguration, RuleNetworkConfigurationArgs

    RulePlacementConstraint, RulePlacementConstraintArgs

    Expression string
    Type string
    Expression string
    Type string
    expression String
    type String
    expression string
    type string
    expression String
    type String

    RulePlacementStrategy, RulePlacementStrategyArgs

    Field string
    Type string
    Field string
    Type string
    field String
    type String
    field string
    type string
    field str
    type str
    field String
    type String

    RuleRedshiftDataParameters, RuleRedshiftDataParametersArgs

    Database string
    DbUser string
    SecretManagerArn string
    Sql string
    Sqls List<string>
    StatementName string
    WithEvent bool
    Database string
    DbUser string
    SecretManagerArn string
    Sql string
    Sqls []string
    StatementName string
    WithEvent bool
    database String
    dbUser String
    secretManagerArn String
    sql String
    sqls List<String>
    statementName String
    withEvent Boolean
    database string
    dbUser string
    secretManagerArn string
    sql string
    sqls string[]
    statementName string
    withEvent boolean
    database String
    dbUser String
    secretManagerArn String
    sql String
    sqls List<String>
    statementName String
    withEvent Boolean

    RuleRetryPolicy, RuleRetryPolicyArgs

    RuleRunCommandParameters, RuleRunCommandParametersArgs

    RuleRunCommandTarget, RuleRunCommandTargetArgs

    Key string
    Values List<string>
    Key string
    Values []string
    key String
    values List<String>
    key string
    values string[]
    key str
    values Sequence[str]
    key String
    values List<String>

    RuleSageMakerPipelineParameter, RuleSageMakerPipelineParameterArgs

    Name string
    Value string
    Name string
    Value string
    name String
    value String
    name string
    value string
    name str
    value str
    name String
    value String

    RuleSageMakerPipelineParameters, RuleSageMakerPipelineParametersArgs

    RuleSqsParameters, RuleSqsParametersArgs

    RuleState, RuleStateArgs

    Disabled
    DISABLED
    Enabled
    ENABLED
    EnabledWithAllCloudtrailManagementEvents
    ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
    RuleStateDisabled
    DISABLED
    RuleStateEnabled
    ENABLED
    RuleStateEnabledWithAllCloudtrailManagementEvents
    ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
    Disabled
    DISABLED
    Enabled
    ENABLED
    EnabledWithAllCloudtrailManagementEvents
    ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
    Disabled
    DISABLED
    Enabled
    ENABLED
    EnabledWithAllCloudtrailManagementEvents
    ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
    DISABLED
    DISABLED
    ENABLED
    ENABLED
    ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
    ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS
    "DISABLED"
    DISABLED
    "ENABLED"
    ENABLED
    "ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS"
    ENABLED_WITH_ALL_CLOUDTRAIL_MANAGEMENT_EVENTS

    RuleTag, RuleTagArgs

    Key string
    Value string
    Key string
    Value string
    key String
    value String
    key string
    value string
    key str
    value str
    key String
    value String

    RuleTarget, RuleTargetArgs

    Arn string
    Id string
    AppSyncParameters Pulumi.AwsNative.Events.Inputs.RuleAppSyncParameters
    BatchParameters Pulumi.AwsNative.Events.Inputs.RuleBatchParameters
    DeadLetterConfig Pulumi.AwsNative.Events.Inputs.RuleDeadLetterConfig
    EcsParameters Pulumi.AwsNative.Events.Inputs.RuleEcsParameters
    HttpParameters Pulumi.AwsNative.Events.Inputs.RuleHttpParameters
    Input string
    InputPath string
    InputTransformer Pulumi.AwsNative.Events.Inputs.RuleInputTransformer
    KinesisParameters Pulumi.AwsNative.Events.Inputs.RuleKinesisParameters
    RedshiftDataParameters Pulumi.AwsNative.Events.Inputs.RuleRedshiftDataParameters
    RetryPolicy Pulumi.AwsNative.Events.Inputs.RuleRetryPolicy
    RoleArn string
    RunCommandParameters Pulumi.AwsNative.Events.Inputs.RuleRunCommandParameters
    SageMakerPipelineParameters Pulumi.AwsNative.Events.Inputs.RuleSageMakerPipelineParameters
    SqsParameters Pulumi.AwsNative.Events.Inputs.RuleSqsParameters

    Package Details

    Repository
    AWS Native pulumi/pulumi-aws-native
    License
    Apache-2.0
    aws-native logo

    AWS Native is in preview. AWS Classic is fully supported.

    AWS Native v0.105.0 published on Thursday, May 2, 2024 by Pulumi