UNPKG

aws-cdk-lib

Version:

Version 2 of the AWS Cloud Development Kit library

4 lines (3 loc) 12.5 kB
"use strict";function _aws_cdk_aws_events_RuleTargetInput(p){}function _aws_cdk_aws_events_RuleTargetInputProperties(p){}function _aws_cdk_aws_events_EventField(p){}function _aws_cdk_aws_events_RuleProps(p){if(p!=null){visitedObjects.add(p);try{if(visitedObjects.has(p.eventBus)||(p.eventBus,void 0),visitedObjects.has(p.schedule)||(p.schedule,void 0),p.targets!=null)for(const o of p.targets)visitedObjects.has(o)||void 0;visitedObjects.has(p.eventPattern)||(p.eventPattern,void 0)}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_Rule(p){}function _aws_cdk_aws_events_IRule(p){}function _aws_cdk_aws_events_IRuleTarget(p){}function _aws_cdk_aws_events_RuleTargetConfig(p){if(p!=null){visitedObjects.add(p);try{visitedObjects.has(p.batchParameters)||(p.batchParameters,void 0),visitedObjects.has(p.deadLetterConfig)||(p.deadLetterConfig,void 0),visitedObjects.has(p.ecsParameters)||(p.ecsParameters,void 0),visitedObjects.has(p.httpParameters)||(p.httpParameters,void 0),"id"in p&&print("@aws-cdk/aws-events.RuleTargetConfig#id","no replacement. we will always use an autogenerated id."),visitedObjects.has(p.input)||(p.input,void 0),visitedObjects.has(p.kinesisParameters)||(p.kinesisParameters,void 0),visitedObjects.has(p.retryPolicy)||(p.retryPolicy,void 0),visitedObjects.has(p.runCommandParameters)||(p.runCommandParameters,void 0),visitedObjects.has(p.sqsParameters)||(p.sqsParameters,void 0)}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_IEventBus(p){}function _aws_cdk_aws_events_EventBusProps(p){}function _aws_cdk_aws_events_EventBusAttributes(p){}function _aws_cdk_aws_events_EventBus(p){}function _aws_cdk_aws_events_EventBusPolicyProps(p){if(p!=null){visitedObjects.add(p);try{visitedObjects.has(p.eventBus)||(p.eventBus,void 0)}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_EventBusPolicy(p){}function _aws_cdk_aws_events_Match(p){}function _aws_cdk_aws_events_EventPattern(p){}function _aws_cdk_aws_events_Schedule(p){}function _aws_cdk_aws_events_CronOptions(p){}function _aws_cdk_aws_events_EventCommonOptions(p){if(p!=null){visitedObjects.add(p);try{visitedObjects.has(p.eventPattern)||(p.eventPattern,void 0)}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_OnEventOptions(p){if(p!=null){visitedObjects.add(p);try{visitedObjects.has(p.target)||(p.target,void 0),visitedObjects.has(p.eventPattern)||(p.eventPattern,void 0)}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_BaseArchiveProps(p){if(p!=null){visitedObjects.add(p);try{visitedObjects.has(p.eventPattern)||(p.eventPattern,void 0)}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_ArchiveProps(p){if(p!=null){visitedObjects.add(p);try{visitedObjects.has(p.sourceEventBus)||(p.sourceEventBus,void 0),visitedObjects.has(p.eventPattern)||(p.eventPattern,void 0)}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_Archive(p){}function _aws_cdk_aws_events_ConnectionProps(p){if(p!=null){visitedObjects.add(p);try{if(visitedObjects.has(p.authorization)||(p.authorization,void 0),p.bodyParameters!=null)for(const o of Object.values(p.bodyParameters))visitedObjects.has(o)||void 0;if(p.headerParameters!=null)for(const o of Object.values(p.headerParameters))visitedObjects.has(o)||void 0;if(p.queryStringParameters!=null)for(const o of Object.values(p.queryStringParameters))visitedObjects.has(o)||void 0}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_Authorization(p){}function _aws_cdk_aws_events_OAuthAuthorizationProps(p){if(p!=null){visitedObjects.add(p);try{if(visitedObjects.has(p.httpMethod)||(p.httpMethod,void 0),p.bodyParameters!=null)for(const o of Object.values(p.bodyParameters))visitedObjects.has(o)||void 0;if(p.headerParameters!=null)for(const o of Object.values(p.headerParameters))visitedObjects.has(o)||void 0;if(p.queryStringParameters!=null)for(const o of Object.values(p.queryStringParameters))visitedObjects.has(o)||void 0}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_HttpParameter(p){}function _aws_cdk_aws_events_IConnection(p){}function _aws_cdk_aws_events_ConnectionAttributes(p){}function _aws_cdk_aws_events_Connection(p){}function _aws_cdk_aws_events_HttpMethod(p){}function _aws_cdk_aws_events_ApiDestinationProps(p){if(p!=null){visitedObjects.add(p);try{visitedObjects.has(p.connection)||(p.connection,void 0),visitedObjects.has(p.httpMethod)||(p.httpMethod,void 0)}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_IApiDestination(p){}function _aws_cdk_aws_events_ApiDestination(p){}function _aws_cdk_aws_events_CfnApiDestinationProps(p){}function _aws_cdk_aws_events_CfnApiDestination(p){}function _aws_cdk_aws_events_CfnArchiveProps(p){}function _aws_cdk_aws_events_CfnArchive(p){}function _aws_cdk_aws_events_CfnConnectionProps(p){}function _aws_cdk_aws_events_CfnConnection(p){}function _aws_cdk_aws_events_CfnConnection_ApiKeyAuthParametersProperty(p){}function _aws_cdk_aws_events_CfnConnection_AuthParametersProperty(p){}function _aws_cdk_aws_events_CfnConnection_BasicAuthParametersProperty(p){}function _aws_cdk_aws_events_CfnConnection_ClientParametersProperty(p){}function _aws_cdk_aws_events_CfnConnection_ConnectionHttpParametersProperty(p){}function _aws_cdk_aws_events_CfnConnection_OAuthParametersProperty(p){}function _aws_cdk_aws_events_CfnConnection_ParameterProperty(p){}function _aws_cdk_aws_events_CfnEndpointProps(p){}function _aws_cdk_aws_events_CfnEndpoint(p){}function _aws_cdk_aws_events_CfnEndpoint_EndpointEventBusProperty(p){}function _aws_cdk_aws_events_CfnEndpoint_FailoverConfigProperty(p){}function _aws_cdk_aws_events_CfnEndpoint_PrimaryProperty(p){}function _aws_cdk_aws_events_CfnEndpoint_ReplicationConfigProperty(p){}function _aws_cdk_aws_events_CfnEndpoint_RoutingConfigProperty(p){}function _aws_cdk_aws_events_CfnEndpoint_SecondaryProperty(p){}function _aws_cdk_aws_events_CfnEventBusProps(p){if(p!=null){visitedObjects.add(p);try{if(p.tags!=null)for(const o of p.tags)visitedObjects.has(o)||void 0}finally{visitedObjects.delete(p)}}}function _aws_cdk_aws_events_CfnEventBus(p){}function _aws_cdk_aws_events_CfnEventBus_TagEntryProperty(p){}function _aws_cdk_aws_events_CfnEventBusPolicyProps(p){}function _aws_cdk_aws_events_CfnEventBusPolicy(p){}function _aws_cdk_aws_events_CfnEventBusPolicy_ConditionProperty(p){}function _aws_cdk_aws_events_CfnRuleProps(p){}function _aws_cdk_aws_events_CfnRule(p){}function _aws_cdk_aws_events_CfnRule_AwsVpcConfigurationProperty(p){}function _aws_cdk_aws_events_CfnRule_BatchArrayPropertiesProperty(p){}function _aws_cdk_aws_events_CfnRule_BatchParametersProperty(p){}function _aws_cdk_aws_events_CfnRule_BatchRetryStrategyProperty(p){}function _aws_cdk_aws_events_CfnRule_CapacityProviderStrategyItemProperty(p){}function _aws_cdk_aws_events_CfnRule_DeadLetterConfigProperty(p){}function _aws_cdk_aws_events_CfnRule_EcsParametersProperty(p){}function _aws_cdk_aws_events_CfnRule_HttpParametersProperty(p){}function _aws_cdk_aws_events_CfnRule_InputTransformerProperty(p){}function _aws_cdk_aws_events_CfnRule_KinesisParametersProperty(p){}function _aws_cdk_aws_events_CfnRule_NetworkConfigurationProperty(p){}function _aws_cdk_aws_events_CfnRule_PlacementConstraintProperty(p){}function _aws_cdk_aws_events_CfnRule_PlacementStrategyProperty(p){}function _aws_cdk_aws_events_CfnRule_RedshiftDataParametersProperty(p){}function _aws_cdk_aws_events_CfnRule_RetryPolicyProperty(p){}function _aws_cdk_aws_events_CfnRule_RunCommandParametersProperty(p){}function _aws_cdk_aws_events_CfnRule_RunCommandTargetProperty(p){}function _aws_cdk_aws_events_CfnRule_SageMakerPipelineParameterProperty(p){}function _aws_cdk_aws_events_CfnRule_SageMakerPipelineParametersProperty(p){}function _aws_cdk_aws_events_CfnRule_SqsParametersProperty(p){}function _aws_cdk_aws_events_CfnRule_TagProperty(p){}function _aws_cdk_aws_events_CfnRule_TargetProperty(p){}function print(name,deprecationMessage){const deprecated=process.env.JSII_DEPRECATED,deprecationMode=["warn","fail","quiet"].includes(deprecated)?deprecated:"warn",message=`${name} is deprecated. ${deprecationMessage.trim()} This API will be removed in the next major release.`;switch(deprecationMode){case"fail":throw new DeprecationError(message);case"warn":console.warn("[WARNING]",message);break}}function getPropertyDescriptor(obj,prop){const descriptor=Object.getOwnPropertyDescriptor(obj,prop);if(descriptor)return descriptor;const proto=Object.getPrototypeOf(obj),prototypeDescriptor=proto&&getPropertyDescriptor(proto,prop);return prototypeDescriptor||{}}const visitedObjects=new Set;class DeprecationError extends Error{constructor(...args){super(...args),Object.defineProperty(this,"name",{configurable:!1,enumerable:!0,value:"DeprecationError",writable:!1})}}module.exports={print,getPropertyDescriptor,DeprecationError,_aws_cdk_aws_events_RuleTargetInput,_aws_cdk_aws_events_RuleTargetInputProperties,_aws_cdk_aws_events_EventField,_aws_cdk_aws_events_RuleProps,_aws_cdk_aws_events_Rule,_aws_cdk_aws_events_IRule,_aws_cdk_aws_events_IRuleTarget,_aws_cdk_aws_events_RuleTargetConfig,_aws_cdk_aws_events_IEventBus,_aws_cdk_aws_events_EventBusProps,_aws_cdk_aws_events_EventBusAttributes,_aws_cdk_aws_events_EventBus,_aws_cdk_aws_events_EventBusPolicyProps,_aws_cdk_aws_events_EventBusPolicy,_aws_cdk_aws_events_Match,_aws_cdk_aws_events_EventPattern,_aws_cdk_aws_events_Schedule,_aws_cdk_aws_events_CronOptions,_aws_cdk_aws_events_EventCommonOptions,_aws_cdk_aws_events_OnEventOptions,_aws_cdk_aws_events_BaseArchiveProps,_aws_cdk_aws_events_ArchiveProps,_aws_cdk_aws_events_Archive,_aws_cdk_aws_events_ConnectionProps,_aws_cdk_aws_events_Authorization,_aws_cdk_aws_events_OAuthAuthorizationProps,_aws_cdk_aws_events_HttpParameter,_aws_cdk_aws_events_IConnection,_aws_cdk_aws_events_ConnectionAttributes,_aws_cdk_aws_events_Connection,_aws_cdk_aws_events_HttpMethod,_aws_cdk_aws_events_ApiDestinationProps,_aws_cdk_aws_events_IApiDestination,_aws_cdk_aws_events_ApiDestination,_aws_cdk_aws_events_CfnApiDestinationProps,_aws_cdk_aws_events_CfnApiDestination,_aws_cdk_aws_events_CfnArchiveProps,_aws_cdk_aws_events_CfnArchive,_aws_cdk_aws_events_CfnConnectionProps,_aws_cdk_aws_events_CfnConnection,_aws_cdk_aws_events_CfnConnection_ApiKeyAuthParametersProperty,_aws_cdk_aws_events_CfnConnection_AuthParametersProperty,_aws_cdk_aws_events_CfnConnection_BasicAuthParametersProperty,_aws_cdk_aws_events_CfnConnection_ClientParametersProperty,_aws_cdk_aws_events_CfnConnection_ConnectionHttpParametersProperty,_aws_cdk_aws_events_CfnConnection_OAuthParametersProperty,_aws_cdk_aws_events_CfnConnection_ParameterProperty,_aws_cdk_aws_events_CfnEndpointProps,_aws_cdk_aws_events_CfnEndpoint,_aws_cdk_aws_events_CfnEndpoint_EndpointEventBusProperty,_aws_cdk_aws_events_CfnEndpoint_FailoverConfigProperty,_aws_cdk_aws_events_CfnEndpoint_PrimaryProperty,_aws_cdk_aws_events_CfnEndpoint_ReplicationConfigProperty,_aws_cdk_aws_events_CfnEndpoint_RoutingConfigProperty,_aws_cdk_aws_events_CfnEndpoint_SecondaryProperty,_aws_cdk_aws_events_CfnEventBusProps,_aws_cdk_aws_events_CfnEventBus,_aws_cdk_aws_events_CfnEventBus_TagEntryProperty,_aws_cdk_aws_events_CfnEventBusPolicyProps,_aws_cdk_aws_events_CfnEventBusPolicy,_aws_cdk_aws_events_CfnEventBusPolicy_ConditionProperty,_aws_cdk_aws_events_CfnRuleProps,_aws_cdk_aws_events_CfnRule,_aws_cdk_aws_events_CfnRule_AwsVpcConfigurationProperty,_aws_cdk_aws_events_CfnRule_BatchArrayPropertiesProperty,_aws_cdk_aws_events_CfnRule_BatchParametersProperty,_aws_cdk_aws_events_CfnRule_BatchRetryStrategyProperty,_aws_cdk_aws_events_CfnRule_CapacityProviderStrategyItemProperty,_aws_cdk_aws_events_CfnRule_DeadLetterConfigProperty,_aws_cdk_aws_events_CfnRule_EcsParametersProperty,_aws_cdk_aws_events_CfnRule_HttpParametersProperty,_aws_cdk_aws_events_CfnRule_InputTransformerProperty,_aws_cdk_aws_events_CfnRule_KinesisParametersProperty,_aws_cdk_aws_events_CfnRule_NetworkConfigurationProperty,_aws_cdk_aws_events_CfnRule_PlacementConstraintProperty,_aws_cdk_aws_events_CfnRule_PlacementStrategyProperty,_aws_cdk_aws_events_CfnRule_RedshiftDataParametersProperty,_aws_cdk_aws_events_CfnRule_RetryPolicyProperty,_aws_cdk_aws_events_CfnRule_RunCommandParametersProperty,_aws_cdk_aws_events_CfnRule_RunCommandTargetProperty,_aws_cdk_aws_events_CfnRule_SageMakerPipelineParameterProperty,_aws_cdk_aws_events_CfnRule_SageMakerPipelineParametersProperty,_aws_cdk_aws_events_CfnRule_SqsParametersProperty,_aws_cdk_aws_events_CfnRule_TagProperty,_aws_cdk_aws_events_CfnRule_TargetProperty};