EC2Service constructor
EC2Service(
- String name, {
- EC2ServiceArgs? args,
- ComponentResourceOptions? options,
Creates a new EC2Service.
name The Pulumi resource name.
args Arguments used to configure this EC2Service. The set of arguments for EC2Service.
options Resource options controlling this resource's behavior.
Implementation
EC2Service(
String name, {
EC2ServiceArgs? args,
pulumi.ComponentResourceOptions? options,
}) : super(
'awsx:ecs:EC2Service',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.ComponentResourceOptions(version: '3.9.0').merge(options),
remote: true,
) {
service = registerOutput<pulumi_aws_ecs.Service?>('service');
taskDefinition = registerOutput<pulumi_aws_ecs.TaskDefinition?>('taskDefinition');
}