@Generated(value="jsii-pacmak/0.20.4 (build 96d89e1)", date="2019-11-12T11:54:58.353Z") @Stability(value=External) public class CfnService extends CfnResource implements IInspectable
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html
Modifier and Type | Class and Description |
---|---|
static interface |
CfnService.AwsVpcConfigurationProperty |
static class |
CfnService.Builder
A fluent builder for
CfnService . |
static interface |
CfnService.DeploymentConfigurationProperty |
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$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(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() |
protected Map<String,Object> |
getCfnProperties() |
String |
getCluster()
`AWS::ECS::Service.Cluster`.
|
Object |
getDeploymentConfiguration()
`AWS::ECS::Service.DeploymentConfiguration`.
|
Number |
getDesiredCount()
`AWS::ECS::Service.DesiredCount`.
|
Object |
getEnableEcsManagedTags()
`AWS::ECS::Service.EnableECSManagedTags`.
|
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 |
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 |
setDesiredCount(Number value)
`AWS::ECS::Service.DesiredCount`.
|
void |
setEnableEcsManagedTags(Boolean value)
`AWS::ECS::Service.EnableECSManagedTags`.
|
void |
setEnableEcsManagedTags(IResolvable value)
`AWS::ECS::Service.EnableECSManagedTags`.
|
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, addOverride, addPropertyDeletionOverride, addPropertyOverride, applyRemovalPolicy, applyRemovalPolicy, applyRemovalPolicy, getAtt, getCfnOptions, getCfnResourceType, getUpdatedProperites, isCfnResource, toString, validateProperties
getRef
getCreationStack, getLogicalId, getStack, isCfnElement, overrideLogicalId
getNode, isConstruct, prepare, synthesize, validate
jsiiAsyncCall, jsiiCall, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticGet, jsiiStaticSet
@Stability(value=External) 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=External) public CfnService(Construct scope, String id, 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. This parameter is required.@Stability(value=Experimental) public void inspect(TreeInspector inspector)
inspect
in interface IInspectable
inspector
- - tree inspector to collect and process attributes. This parameter is required.@Stability(value=External) protected Map<String,Object> renderProperties(Map<String,Object> props)
renderProperties
in class CfnResource
props
- This parameter is required.@Stability(value=External) public String getAttrName()
@Stability(value=External) protected Map<String,Object> getCfnProperties()
getCfnProperties
in class CfnResource
@Stability(value=External) public TagManager getTags()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-tags
@Stability(value=External) public String getTaskDefinition()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-taskdefinition
@Stability(value=External) public void setTaskDefinition(String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-taskdefinition
@Stability(value=External) public String getCluster()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-cluster
@Stability(value=External) public void setCluster(String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-cluster
@Stability(value=External) public Object getDeploymentConfiguration()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-deploymentconfiguration
@Stability(value=External) public void setDeploymentConfiguration(IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-deploymentconfiguration
@Stability(value=External) public void setDeploymentConfiguration(CfnService.DeploymentConfigurationProperty value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-deploymentconfiguration
@Stability(value=External) public Number getDesiredCount()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-desiredcount
@Stability(value=External) public void setDesiredCount(Number value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-desiredcount
@Stability(value=External) public Object getEnableEcsManagedTags()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-enableecsmanagedtags
@Stability(value=External) public void setEnableEcsManagedTags(Boolean value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-enableecsmanagedtags
@Stability(value=External) public void setEnableEcsManagedTags(IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-enableecsmanagedtags
@Stability(value=External) public Number getHealthCheckGracePeriodSeconds()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-healthcheckgraceperiodseconds
@Stability(value=External) public void setHealthCheckGracePeriodSeconds(Number value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-healthcheckgraceperiodseconds
@Stability(value=External) public String getLaunchType()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-launchtype
@Stability(value=External) public void setLaunchType(String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-launchtype
@Stability(value=External) public Object getLoadBalancers()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-loadbalancers
@Stability(value=External) public void setLoadBalancers(IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-loadbalancers
@Stability(value=External) public void setLoadBalancers(List<Object> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-loadbalancers
@Stability(value=External) public Object getNetworkConfiguration()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-networkconfiguration
@Stability(value=External) public void setNetworkConfiguration(IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-networkconfiguration
@Stability(value=External) public void setNetworkConfiguration(CfnService.NetworkConfigurationProperty value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-networkconfiguration
@Stability(value=External) public Object getPlacementConstraints()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-placementconstraints
@Stability(value=External) public void setPlacementConstraints(IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-placementconstraints
@Stability(value=External) public void setPlacementConstraints(List<Object> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-placementconstraints
@Stability(value=External) public Object getPlacementStrategies()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-placementstrategies
@Stability(value=External) public void setPlacementStrategies(IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-placementstrategies
@Stability(value=External) public void setPlacementStrategies(List<Object> value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-placementstrategies
@Stability(value=External) public String getPlatformVersion()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-platformversion
@Stability(value=External) public void setPlatformVersion(String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-platformversion
@Stability(value=External) public String getPropagateTags()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-propagatetags
@Stability(value=External) public void setPropagateTags(String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-propagatetags
@Stability(value=External) public String getRole()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-role
@Stability(value=External) public void setRole(String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-role
@Stability(value=External) public String getSchedulingStrategy()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-schedulingstrategy
@Stability(value=External) public void setSchedulingStrategy(String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-schedulingstrategy
@Stability(value=External) public String getServiceName()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-servicename
@Stability(value=External) public void setServiceName(String value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-servicename
@Stability(value=External) public Object getServiceRegistries()
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-serviceregistries
@Stability(value=External) public void setServiceRegistries(IResolvable value)
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-ecs-service.html#cfn-ecs-service-serviceregistries
Copyright © 2019. All rights reserved.