AlternateTargetOptions Struct
Options for AlternateTarget configuration.
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_ecs as ecs } from 'aws-cdk-lib';
import { aws_iam as iam } from 'aws-cdk-lib';
declare const listenerRuleConfiguration: ecs.ListenerRuleConfiguration;
declare const role: iam.Role;
const alternateTargetOptions: ecs.AlternateTargetOptions = {
role: role,
testListener: listenerRuleConfiguration,
};
Properties
The IAM role for the configuration.
Default: a new role will be created
testListeneroptionalListenerRuleConfigurationtest_listeneroptionalListenerRuleConfigurationtestListeneroptionalListenerRuleConfigurationTestListeneroptionalListenerRuleConfigurationTestListeneroptionalListenerRuleConfiguration= none#The test listener configuration.