Class CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceConfigurationProperty
Represents a specific configuration revision of an Express service, containing all the settings and parameters for that revision.
Inherited Members
Namespace: Amazon.CDK.Mixins.Preview.AWS.ECS.Mixins
Assembly: Amazon.CDK.Mixins.Preview.dll
Syntax (csharp)
public class CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceConfigurationProperty : CfnExpressGatewayServicePropsMixin.IExpressGatewayServiceConfigurationProperty
Syntax (vb)
Public Class CfnExpressGatewayServicePropsMixin.ExpressGatewayServiceConfigurationProperty Implements CfnExpressGatewayServicePropsMixin.IExpressGatewayServiceConfigurationProperty
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.Mixins.Preview.AWS.ECS.Mixins;
var expressGatewayServiceConfigurationProperty = new ExpressGatewayServiceConfigurationProperty {
Cpu = "cpu",
CreatedAt = "createdAt",
ExecutionRoleArn = "executionRoleArn",
HealthCheckPath = "healthCheckPath",
IngressPaths = new [] { new IngressPathSummaryProperty {
AccessType = "accessType",
Endpoint = "endpoint"
} },
Memory = "memory",
NetworkConfiguration = new ExpressGatewayServiceNetworkConfigurationProperty {
SecurityGroups = new [] { "securityGroups" },
Subnets = new [] { "subnets" }
},
PrimaryContainer = new ExpressGatewayContainerProperty {
AwsLogsConfiguration = new ExpressGatewayServiceAwsLogsConfigurationProperty {
LogGroup = "logGroup",
LogStreamPrefix = "logStreamPrefix"
},
Command = new [] { "command" },
ContainerPort = 123,
Environment = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
Image = "image",
RepositoryCredentials = new ExpressGatewayRepositoryCredentialsProperty {
CredentialsParameter = "credentialsParameter"
},
Secrets = new [] { new SecretProperty {
Name = "name",
ValueFrom = "valueFrom"
} }
},
ScalingTarget = new ExpressGatewayScalingTargetProperty {
AutoScalingMetric = "autoScalingMetric",
AutoScalingTargetValue = 123,
MaxTaskCount = 123,
MinTaskCount = 123
},
ServiceRevisionArn = "serviceRevisionArn",
TaskRoleArn = "taskRoleArn"
};
Synopsis
Constructors
| ExpressGatewayServiceConfigurationProperty() | Represents a specific configuration revision of an Express service, containing all the settings and parameters for that revision. |
Properties
| Cpu | The CPU allocation for tasks in this service revision. |
| CreatedAt | The Unix timestamp for when this service revision was created. |
| ExecutionRoleArn | The ARN of the task execution role for the service revision. |
| HealthCheckPath | The health check path for this service revision. |
| IngressPaths | The entry point into this service revision. |
| Memory | The memory allocation for tasks in this service revision. |
| NetworkConfiguration | The network configuration for tasks in this service revision. |
| PrimaryContainer | The primary container configuration for this service revision. |
| ScalingTarget | The auto-scaling configuration for this service revision. |
| ServiceRevisionArn | The ARN of the service revision. |
| TaskRoleArn | The ARN of the task role for the service revision. |
Constructors
ExpressGatewayServiceConfigurationProperty()
Represents a specific configuration revision of an Express service, containing all the settings and parameters for that revision.
public ExpressGatewayServiceConfigurationProperty()
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.Mixins.Preview.AWS.ECS.Mixins;
var expressGatewayServiceConfigurationProperty = new ExpressGatewayServiceConfigurationProperty {
Cpu = "cpu",
CreatedAt = "createdAt",
ExecutionRoleArn = "executionRoleArn",
HealthCheckPath = "healthCheckPath",
IngressPaths = new [] { new IngressPathSummaryProperty {
AccessType = "accessType",
Endpoint = "endpoint"
} },
Memory = "memory",
NetworkConfiguration = new ExpressGatewayServiceNetworkConfigurationProperty {
SecurityGroups = new [] { "securityGroups" },
Subnets = new [] { "subnets" }
},
PrimaryContainer = new ExpressGatewayContainerProperty {
AwsLogsConfiguration = new ExpressGatewayServiceAwsLogsConfigurationProperty {
LogGroup = "logGroup",
LogStreamPrefix = "logStreamPrefix"
},
Command = new [] { "command" },
ContainerPort = 123,
Environment = new [] { new KeyValuePairProperty {
Name = "name",
Value = "value"
} },
Image = "image",
RepositoryCredentials = new ExpressGatewayRepositoryCredentialsProperty {
CredentialsParameter = "credentialsParameter"
},
Secrets = new [] { new SecretProperty {
Name = "name",
ValueFrom = "valueFrom"
} }
},
ScalingTarget = new ExpressGatewayScalingTargetProperty {
AutoScalingMetric = "autoScalingMetric",
AutoScalingTargetValue = 123,
MaxTaskCount = 123,
MinTaskCount = 123
},
ServiceRevisionArn = "serviceRevisionArn",
TaskRoleArn = "taskRoleArn"
};
Properties
Cpu
The CPU allocation for tasks in this service revision.
public string? Cpu { get; set; }
Property Value
Remarks
CreatedAt
The Unix timestamp for when this service revision was created.
public string? CreatedAt { get; set; }
Property Value
Remarks
ExecutionRoleArn
The ARN of the task execution role for the service revision.
public string? ExecutionRoleArn { get; set; }
Property Value
Remarks
HealthCheckPath
The health check path for this service revision.
public string? HealthCheckPath { get; set; }
Property Value
Remarks
IngressPaths
The entry point into this service revision.
public object? IngressPaths { get; set; }
Property Value
Remarks
Type union: either IResolvable or (either IResolvable or CfnExpressGatewayServicePropsMixin.IIngressPathSummaryProperty)[]
Memory
The memory allocation for tasks in this service revision.
public string? Memory { get; set; }
Property Value
Remarks
NetworkConfiguration
The network configuration for tasks in this service revision.
public object? NetworkConfiguration { get; set; }
Property Value
Remarks
PrimaryContainer
The primary container configuration for this service revision.
public object? PrimaryContainer { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnExpressGatewayServicePropsMixin.IExpressGatewayContainerProperty
ScalingTarget
The auto-scaling configuration for this service revision.
public object? ScalingTarget { get; set; }
Property Value
Remarks
Type union: either IResolvable or CfnExpressGatewayServicePropsMixin.IExpressGatewayScalingTargetProperty
ServiceRevisionArn
The ARN of the service revision.
public string? ServiceRevisionArn { get; set; }
Property Value
Remarks
TaskRoleArn
The ARN of the task role for the service revision.
public string? TaskRoleArn { get; set; }