AWS Native

Pulumi Official
Package maintained by Pulumi
v0.19.0 published on Wednesday, Jun 8, 2022 by Pulumi

getService

Resource Type definition for AWS::ECS::Service

Using getService

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getService(args: GetServiceArgs, opts?: InvokeOptions): Promise<GetServiceResult>
function getServiceOutput(args: GetServiceOutputArgs, opts?: InvokeOptions): Output<GetServiceResult>
def get_service(cluster: Optional[str] = None,
                service_arn: Optional[str] = None,
                opts: Optional[InvokeOptions] = None) -> GetServiceResult
def get_service_output(cluster: Optional[pulumi.Input[str]] = None,
                service_arn: Optional[pulumi.Input[str]] = None,
                opts: Optional[InvokeOptions] = None) -> Output[GetServiceResult]
func LookupService(ctx *Context, args *LookupServiceArgs, opts ...InvokeOption) (*LookupServiceResult, error)
func LookupServiceOutput(ctx *Context, args *LookupServiceOutputArgs, opts ...InvokeOption) LookupServiceResultOutput

> Note: This function is named LookupService in the Go SDK.

public static class GetService 
{
    public static Task<GetServiceResult> InvokeAsync(GetServiceArgs args, InvokeOptions? opts = null)
    public static Output<GetServiceResult> Invoke(GetServiceInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetServiceResult> getService(GetServiceArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: aws-native:ecs:getService
  Arguments:
    # Arguments dictionary

The following arguments are supported:

Cluster string
ServiceArn string
Cluster string
ServiceArn string
cluster String
serviceArn String
cluster string
serviceArn string
cluster String
serviceArn String

getService Result

The following output properties are available:

CapacityProviderStrategy List<Pulumi.AwsNative.ECS.Outputs.ServiceCapacityProviderStrategyItem>
DeploymentConfiguration Pulumi.AwsNative.ECS.Outputs.ServiceDeploymentConfiguration
DesiredCount int
EnableECSManagedTags bool
EnableExecuteCommand bool
HealthCheckGracePeriodSeconds int
LoadBalancers List<Pulumi.AwsNative.ECS.Outputs.ServiceLoadBalancer>
Name string
NetworkConfiguration Pulumi.AwsNative.ECS.Outputs.ServiceNetworkConfiguration
PlacementConstraints List<Pulumi.AwsNative.ECS.Outputs.ServicePlacementConstraint>
PlacementStrategies List<Pulumi.AwsNative.ECS.Outputs.ServicePlacementStrategy>
PlatformVersion string
PropagateTags Pulumi.AwsNative.ECS.ServicePropagateTags
ServiceArn string
ServiceRegistries List<Pulumi.AwsNative.ECS.Outputs.ServiceRegistry>
Tags List<Pulumi.AwsNative.ECS.Outputs.ServiceTag>
TaskDefinition string

Supporting Types

ServiceAwsVpcConfiguration

ServiceAwsVpcConfigurationAssignPublicIp

ServiceCapacityProviderStrategyItem

base Integer
capacityProvider String
weight Integer
base number
capacityProvider string
weight number
base Number
capacityProvider String
weight Number

ServiceDeploymentCircuitBreaker

Enable bool
Rollback bool
Enable bool
Rollback bool
enable Boolean
rollback Boolean
enable boolean
rollback boolean
enable bool
rollback bool
enable Boolean
rollback Boolean

ServiceDeploymentConfiguration

ServiceLoadBalancer

ServiceNetworkConfiguration

ServicePlacementConstraint

ServicePlacementConstraintType

ServicePlacementStrategy

ServicePlacementStrategyType

ServicePropagateTags

ServiceRegistry

containerName String
containerPort Integer
port Integer
registryArn String
containerName string
containerPort number
port number
registryArn string
containerName String
containerPort Number
port Number
registryArn String

ServiceTag

Key string
Value string
Key string
Value string
key String
value String
key string
value string
key str
value str
key String
value String

Package Details

Repository
https://github.com/pulumi/pulumi-aws-native
License
Apache-2.0