@Generated(value="jsii-pacmak/1.30.0 (build adae23f)", date="2021-06-30T10:01:06.740Z") @Stability(value=Stable) public class CfnService extends CfnResource implements IInspectable
Modifier and Type | Class and Description |
---|---|
static interface |
CfnService.AwsVpcConfigurationProperty |
static class |
CfnService.Builder
A fluent builder for
CfnService . |
static interface |
CfnService.CapacityProviderStrategyItemProperty |
static interface |
CfnService.DeploymentCircuitBreakerProperty |
static interface |
CfnService.DeploymentConfigurationProperty |
static interface |
CfnService.DeploymentControllerProperty |
static interface |
CfnService.LoadBalancerProperty |
static interface |
CfnService.NetworkConfigurationProperty |
static interface |
CfnService.PlacementConstraintProperty |
static interface |
CfnService.PlacementStrategyProperty |
static interface |
CfnService.ServiceRegistryProperty |
software.amazon.jsii.JsiiObject.InitializationMode
IInspectable.Jsii$Default, IInspectable.Jsii$Proxy
Modifier and Type | Field and Description |
---|---|
static String |
CFN_RESOURCE_TYPE_NAME
The CloudFormation resource type name for this resource class.
|
Modifier | Constructor and Description |
---|---|
|
CfnService(software.constructs.Construct scope,
String id)
Create a new `AWS::ECS::Service`.
|
|
CfnService(software.constructs.Construct scope,
String id,
CfnServiceProps props)
Create a new `AWS::ECS::Service`.
|
protected |
CfnService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
CfnService(software.amazon.jsii.JsiiObjectRef objRef) |
Modifier and Type | Method and Description |
---|---|
String |
getAttrName() |
String |
getAttrServiceArn() |
Object |
getCapacityProviderStrategy()
`AWS::ECS::Service.CapacityProviderStrategy`.
|
protected Map<String,Object> |
getCfnProperties() |
String |
getCluster()
`AWS::ECS::Service.Cluster`.
|
Object |
getDeploymentConfiguration()
`AWS::ECS::Service.DeploymentConfiguration`.
|
Object |
getDeploymentController()
`AWS::ECS::Service.DeploymentController`.
|
Number |
getDesiredCount()
`AWS::ECS::Service.DesiredCount`.
|
Object |
getEnableEcsManagedTags()
`AWS::ECS::Service.EnableECSManagedTags`.
|
Object |
getEnableExecuteCommand()
`AWS::ECS::Service.EnableExecuteCommand`.
|
Number |
getHealthCheckGracePeriodSeconds()
`AWS::ECS::Service.HealthCheckGracePeriodSeconds`.
|
String |
getLaunchType()
`AWS::ECS::Service.LaunchType`.
|
Object |
getLoadBalancers()
`AWS::ECS::Service.LoadBalancers`.
|
Object |
getNetworkConfiguration()
`AWS::ECS::Service.NetworkConfiguration`.
|
Object |
getPlacementConstraints()
`AWS::ECS::Service.PlacementConstraints`.
|
Object |
getPlacementStrategies()
`AWS::ECS::Service.PlacementStrategies`.
|
String |
getPlatformVersion()
`AWS::ECS::Service.PlatformVersion`.
|
String |
getPropagateTags()
`AWS::ECS::Service.PropagateTags`.
|
String |
getRole()
`AWS::ECS::Service.Role`.
|
String |
getSchedulingStrategy()
`AWS::ECS::Service.SchedulingStrategy`.
|
String |
getServiceName()
`AWS::ECS::Service.ServiceName`.
|
Object |
getServiceRegistries()
`AWS::ECS::Service.ServiceRegistries`.
|
TagManager |
getTags()
`AWS::ECS::Service.Tags`.
|
String |
getTaskDefinition()
`AWS::ECS::Service.TaskDefinition`.
|
void |
inspect(TreeInspector inspector)
Examines the CloudFormation resource and discloses attributes.
|
protected Map<String,Object> |
renderProperties(Map<String,Object> props) |
void |
setCapacityProviderStrategy(IResolvable value)
`AWS::ECS::Service.CapacityProviderStrategy`.
|
void |
setCapacityProviderStrategy(List<Object> value)
`AWS::ECS::Service.CapacityProviderStrategy`.
|
void |
setCluster(String value)
`AWS::ECS::Service.Cluster`.
|
void |
setDeploymentConfiguration(CfnService.DeploymentConfigurationProperty value)
`AWS::ECS::Service.DeploymentConfiguration`.
|
void |
setDeploymentConfiguration(IResolvable value)
`AWS::ECS::Service.DeploymentConfiguration`.
|
void |
setDeploymentController(CfnService.DeploymentControllerProperty value)
`AWS::ECS::Service.DeploymentController`.
|
void |
setDeploymentController(IResolvable value)
`AWS::ECS::Service.DeploymentController`.
|
void |
setDesiredCount(Number value)
`AWS::ECS::Service.DesiredCount`.
|
void |
setEnableEcsManagedTags(Boolean value)
`AWS::ECS::Service.EnableECSManagedTags`.
|
void |
setEnableEcsManagedTags(IResolvable value)
`AWS::ECS::Service.EnableECSManagedTags`.
|
void |
setEnableExecuteCommand(Boolean value)
`AWS::ECS::Service.EnableExecuteCommand`.
|
void |
setEnableExecuteCommand(IResolvable value)
`AWS::ECS::Service.EnableExecuteCommand`.
|
void |
setHealthCheckGracePeriodSeconds(Number value)
`AWS::ECS::Service.HealthCheckGracePeriodSeconds`.
|
void |
setLaunchType(String value)
`AWS::ECS::Service.LaunchType`.
|
void |
setLoadBalancers(IResolvable value)
`AWS::ECS::Service.LoadBalancers`.
|
void |
setLoadBalancers(List<Object> value)
`AWS::ECS::Service.LoadBalancers`.
|
void |
setNetworkConfiguration(CfnService.NetworkConfigurationProperty value)
`AWS::ECS::Service.NetworkConfiguration`.
|
void |
setNetworkConfiguration(IResolvable value)
`AWS::ECS::Service.NetworkConfiguration`.
|
void |
setPlacementConstraints(IResolvable value)
`AWS::ECS::Service.PlacementConstraints`.
|
void |
setPlacementConstraints(List<Object> value)
`AWS::ECS::Service.PlacementConstraints`.
|
void |
setPlacementStrategies(IResolvable value)
`AWS::ECS::Service.PlacementStrategies`.
|
void |
setPlacementStrategies(List<Object> value)
`AWS::ECS::Service.PlacementStrategies`.
|
void |
setPlatformVersion(String value)
`AWS::ECS::Service.PlatformVersion`.
|
void |
setPropagateTags(String value)
`AWS::ECS::Service.PropagateTags`.
|
void |
setRole(String value)
`AWS::ECS::Service.Role`.
|
void |
setSchedulingStrategy(String value)
`AWS::ECS::Service.SchedulingStrategy`.
|
void |
setServiceName(String value)
`AWS::ECS::Service.ServiceName`.
|
void |
setServiceRegistries(IResolvable value)
`AWS::ECS::Service.ServiceRegistries`.
|
void |
setServiceRegistries(List<Object> value)
`AWS::ECS::Service.ServiceRegistries`.
|
void |
setTaskDefinition(String value)
`AWS::ECS::Service.TaskDefinition`.
|
addDeletionOverride, addDependsOn, addMetadata, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getMetadata, getUpdatedProperites, isCfnResource, shouldSynthesize, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
jsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSet
@Stability(value=Stable) public static final String CFN_RESOURCE_TYPE_NAME
protected CfnService(software.amazon.jsii.JsiiObjectRef objRef)
protected CfnService(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable) public CfnService(@NotNull software.constructs.Construct scope, @NotNull String id, @Nullable CfnServiceProps props)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.props
- - resource properties.@Stability(value=Stable) public CfnService(@NotNull software.constructs.Construct scope, @NotNull String id)
scope
- - scope in which this resource is defined. This parameter is required.id
- - scoped id of the resource. This parameter is required.@Stability(value=Stable) public void inspect(@NotNull TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=Stable) @NotNull protected Map<String,Object> renderProperties(@NotNull Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=Stable) @NotNull public String getAttrName()
@Stability(value=Stable) @NotNull public String getAttrServiceArn()
@Stability(value=Stable) @NotNull protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=Stable) @NotNull public TagManager getTags()
@Stability(value=Stable) @Nullable public Object getCapacityProviderStrategy()
@Stability(value=Stable) public void setCapacityProviderStrategy(@Nullable IResolvable value)
@Stability(value=Stable) public void setCapacityProviderStrategy(@Nullable List<Object> value)
@Stability(value=Stable) @Nullable public String getCluster()
@Stability(value=Stable) public void setCluster(@Nullable String value)
@Stability(value=Stable) @Nullable public Object getDeploymentConfiguration()
@Stability(value=Stable) public void setDeploymentConfiguration(@Nullable CfnService.DeploymentConfigurationProperty value)
@Stability(value=Stable) public void setDeploymentConfiguration(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public Object getDeploymentController()
@Stability(value=Stable) public void setDeploymentController(@Nullable CfnService.DeploymentControllerProperty value)
@Stability(value=Stable) public void setDeploymentController(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public Number getDesiredCount()
@Stability(value=Stable) public void setDesiredCount(@Nullable Number value)
@Stability(value=Stable) @Nullable public Object getEnableEcsManagedTags()
@Stability(value=Stable) public void setEnableEcsManagedTags(@Nullable Boolean value)
@Stability(value=Stable) public void setEnableEcsManagedTags(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public Object getEnableExecuteCommand()
@Stability(value=Stable) public void setEnableExecuteCommand(@Nullable Boolean value)
@Stability(value=Stable) public void setEnableExecuteCommand(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public Number getHealthCheckGracePeriodSeconds()
@Stability(value=Stable) public void setHealthCheckGracePeriodSeconds(@Nullable Number value)
@Stability(value=Stable) @Nullable public String getLaunchType()
@Stability(value=Stable) public void setLaunchType(@Nullable String value)
@Stability(value=Stable) @Nullable public Object getLoadBalancers()
@Stability(value=Stable) public void setLoadBalancers(@Nullable IResolvable value)
@Stability(value=Stable) public void setLoadBalancers(@Nullable List<Object> value)
@Stability(value=Stable) @Nullable public Object getNetworkConfiguration()
@Stability(value=Stable) public void setNetworkConfiguration(@Nullable CfnService.NetworkConfigurationProperty value)
@Stability(value=Stable) public void setNetworkConfiguration(@Nullable IResolvable value)
@Stability(value=Stable) @Nullable public Object getPlacementConstraints()
@Stability(value=Stable) public void setPlacementConstraints(@Nullable IResolvable value)
@Stability(value=Stable) public void setPlacementConstraints(@Nullable List<Object> value)
@Stability(value=Stable) @Nullable public Object getPlacementStrategies()
@Stability(value=Stable) public void setPlacementStrategies(@Nullable IResolvable value)
@Stability(value=Stable) public void setPlacementStrategies(@Nullable List<Object> value)
@Stability(value=Stable) @Nullable public String getPlatformVersion()
@Stability(value=Stable) public void setPlatformVersion(@Nullable String value)
@Stability(value=Stable) @Nullable public String getPropagateTags()
@Stability(value=Stable) public void setPropagateTags(@Nullable String value)
@Stability(value=Stable) @Nullable public String getRole()
@Stability(value=Stable) public void setRole(@Nullable String value)
@Stability(value=Stable) @Nullable public String getSchedulingStrategy()
@Stability(value=Stable) public void setSchedulingStrategy(@Nullable String value)
@Stability(value=Stable) @Nullable public String getServiceName()
@Stability(value=Stable) public void setServiceName(@Nullable String value)
@Stability(value=Stable) @Nullable public Object getServiceRegistries()
@Stability(value=Stable) public void setServiceRegistries(@Nullable IResolvable value)
@Stability(value=Stable) public void setServiceRegistries(@Nullable List<Object> value)
@Stability(value=Stable) @Nullable public String getTaskDefinition()
@Stability(value=Stable) public void setTaskDefinition(@Nullable String value)
Copyright © 2021. All rights reserved.