Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
networkConfiguration: {
awsVpcConfiguration: {
subnets: this.props.cluster.vpc.selectSubnets(subnetSelection).subnetIds,
assignPublicIp,
securityGroups: this.securityGroup && [this.securityGroup.securityGroupId]
}
}
}
: baseEcsParameters;
return {
id: '',
arn,
role,
ecsParameters,
input: events.RuleTargetInput.fromObject(input),
targetResource: this.taskDefinition,
};
}
}