Class: Aws::ECS::Types::ServiceRevision

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-ecs/types.rb

Overview

Information about the service revision.

A service revision contains a record of the workload configuration Amazon ECS is attempting to deploy. Whenever you create or deploy a service, Amazon ECS automatically creates and captures the configuration that you’re trying to deploy in the service revision. For information about service revisions, see [Amazon ECS service revisions] in the Amazon Elastic Container Service Developer Guide .

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/service-revision.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#capacity_provider_strategyArray<Types::CapacityProviderStrategyItem>

The capacity provider strategy the service revision uses.



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#cluster_arnString

The ARN of the cluster that hosts the service.

Returns:

  • (String)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#container_imagesArray<Types::ContainerImage>

The container images the service revision uses.

Returns:



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#created_atTime

The time that the service revision was created. The format is yyyy-mm-dd HH:mm:ss.SSSSS.

Returns:

  • (Time)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#fargate_ephemeral_storageTypes::DeploymentEphemeralStorage

The amount of ephemeral storage to allocate for the deployment.



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#guard_duty_enabledBoolean

Indicates whether Runtime Monitoring is turned on.

Returns:

  • (Boolean)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#launch_typeString

The launch type the service revision uses.

Returns:

  • (String)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#load_balancersArray<Types::LoadBalancer>

The load balancers the service revision uses.

Returns:



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#network_configurationTypes::NetworkConfiguration

The network configuration for a task or service.



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#platform_familyString

The platform family the service revision uses.

Returns:

  • (String)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#platform_versionString

For the Fargate launch type, the platform version the service revision uses.

Returns:

  • (String)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#service_arnString

The ARN of the service for the service revision.

Returns:

  • (String)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#service_connect_configurationTypes::ServiceConnectConfiguration

The Service Connect configuration of your Amazon ECS service. The configuration for this service to discover and connect to services, and be discovered by, and connected from, other services within a namespace.

Tasks that run in a namespace can use short names to connect to services in the namespace. Tasks can connect to services across all of the clusters in the namespace. Tasks connect through a managed proxy container that collects logs and metrics for increased visibility. Only the tasks that Amazon ECS services create are supported with Service Connect. For more information, see [Service Connect] in the *Amazon Elastic Container Service Developer Guide*.

[1]: docs.aws.amazon.com/AmazonECS/latest/developerguide/service-connect.html



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#service_registriesArray<Types::ServiceRegistry>

The service registries (for Service Discovery) the service revision uses.

Returns:



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#service_revision_arnString

The ARN of the service revision.

Returns:

  • (String)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#task_definitionString

The task definition the service revision uses.

Returns:

  • (String)


10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#volume_configurationsArray<Types::ServiceVolumeConfiguration>

The volumes that are configured at deployment that the service revision uses.



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end

#vpc_lattice_configurationsArray<Types::VpcLatticeConfiguration>

The VPC Lattice configuration for the service revision.

Returns:



10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
# File 'lib/aws-sdk-ecs/types.rb', line 10730

class ServiceRevision < Struct.new(
  :service_revision_arn,
  :service_arn,
  :cluster_arn,
  :task_definition,
  :capacity_provider_strategy,
  :launch_type,
  :platform_version,
  :platform_family,
  :load_balancers,
  :service_registries,
  :network_configuration,
  :container_images,
  :guard_duty_enabled,
  :service_connect_configuration,
  :volume_configurations,
  :fargate_ephemeral_storage,
  :created_at,
  :vpc_lattice_configurations)
  SENSITIVE = []
  include Aws::Structure
end