Class ServiceReference
A reference to a Service resource.
Implements
Inherited Members
Namespace: Amazon.CDK.Interfaces.ECS
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public class ServiceReference : IServiceReference
Syntax (vb)
Public Class ServiceReference Implements IServiceReference
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.ECS;
var serviceReference = new ServiceReference {
Cluster = "cluster",
ServiceArn = "serviceArn"
};
Synopsis
Constructors
| ServiceReference() | A reference to a Service resource. |
Properties
| Cluster | The Cluster of the Service resource. |
| ServiceArn | The ServiceArn of the Service resource. |
Constructors
ServiceReference()
A reference to a Service resource.
public ServiceReference()
Remarks
ExampleMetadata: fixture=_generated
Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.Interfaces.ECS;
var serviceReference = new ServiceReference {
Cluster = "cluster",
ServiceArn = "serviceArn"
};
Properties
Cluster
The Cluster of the Service resource.
public string Cluster { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated
ServiceArn
The ServiceArn of the Service resource.
public string ServiceArn { get; set; }
Property Value
Remarks
ExampleMetadata: fixture=_generated