NAME

Paws::Lightsail::CreateContainerServiceDeployment - Arguments for method CreateContainerServiceDeployment on Paws::Lightsail

DESCRIPTION

This class represents the parameters used for calling the method CreateContainerServiceDeployment on the Amazon Lightsail service. Use the attributes of this class as arguments to method CreateContainerServiceDeployment.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateContainerServiceDeployment.

SYNOPSIS

  my $lightsail = Paws->service('Lightsail');
  my $CreateContainerServiceDeploymentResult =
    $lightsail->CreateContainerServiceDeployment(
    ServiceName => 'MyContainerServiceName',
    Containers  => {
      'MyContainerName' => {
        Command     => [ 'Mystring', ... ],              # OPTIONAL
        Environment => { 'Mystring' => 'Mystring', },    # OPTIONAL
        Image       => 'Mystring',
        Ports       => {
          'Mystring' => 'HTTP',    # , value: values: HTTP, HTTPS, TCP, UDP
        },    # OPTIONAL
      },    # key: min: 1, max: 53
    },    # OPTIONAL
    PublicEndpoint => {
      ContainerName => 'Mystring',
      ContainerPort => 1,
      HealthCheck   => {
        HealthyThreshold   => 1,
        IntervalSeconds    => 1,
        Path               => 'Mystring',
        SuccessCodes       => 'Mystring',
        TimeoutSeconds     => 1,
        UnhealthyThreshold => 1,
      },    # OPTIONAL
    },    # OPTIONAL
    );

  # Results:
  my $ContainerService =
    $CreateContainerServiceDeploymentResult->ContainerService;

# Returns a L<Paws::Lightsail::CreateContainerServiceDeploymentResult> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/lightsail/CreateContainerServiceDeployment

ATTRIBUTES

Containers => Paws::Lightsail::ContainerMap

An object that describes the settings of the containers that will be launched on the container service.

PublicEndpoint => Paws::Lightsail::EndpointRequest

An object that describes the settings of the public endpoint for the container service.

REQUIRED ServiceName => Str

The name of the container service for which to create the deployment.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateContainerServiceDeployment in Paws::Lightsail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues