The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Paws::Proton::CreateService - Arguments for method CreateService on Paws::Proton

DESCRIPTION

This class represents the parameters used for calling the method CreateService on the AWS Proton service. Use the attributes of this class as arguments to method CreateService.

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

SYNOPSIS

my $proton = Paws->service('Proton');
my $CreateServiceOutput = $proton->CreateService(
  Name                    => 'MyResourceName',
  Spec                    => 'MySpecContents',
  TemplateMajorVersion    => 'MyTemplateVersionPart',
  TemplateName            => 'MyResourceName',
  BranchName              => 'MyGitBranchName',         # OPTIONAL
  Description             => 'MyDescription',           # OPTIONAL
  RepositoryConnectionArn => 'MyArn',                   # OPTIONAL
  RepositoryId            => 'MyRepositoryId',          # OPTIONAL
  Tags                    => [
    {
      Key   => 'MyTagKey',      # min: 1, max: 128
      Value => 'MyTagValue',    # max: 256

    },
    ...
  ],    # OPTIONAL
  TemplateMinorVersion => 'MyTemplateVersionPart',    # OPTIONAL
);

# Results:
my $Service = $CreateServiceOutput->Service;

# Returns a L<Paws::Proton::CreateServiceOutput> 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/proton/CreateService

ATTRIBUTES

BranchName => Str

The name of the code repository branch that holds the code that's deployed in AWS Proton. Don't include this parameter if your service template doesn't include a service pipeline.

Description => Str

A description of the AWS Proton service.

REQUIRED Name => Str

The service name.

RepositoryConnectionArn => Str

The ARN of the repository connection. For more information, see Set up repository connection (https://docs.aws.amazon.com/proton/latest/adminguide/setting-up-for-service.html#settingSS-up-vcontrol) in the AWS Proton Administration Guide and Getting started (https://docs.aws.amazon.com/proton/latest/userguide/ug-getting-started.html#getting-started-step1) in the AWS Proton User Guide. Don't include this parameter if your service template doesn't include a service pipeline.

RepositoryId => Str

The ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline.

REQUIRED Spec => Str

A link to a spec file that provides inputs as defined in the service template bundle schema file. The spec file is in YAML format. Don’t include pipeline inputs in the spec if your service template doesn’t include a service pipeline. For more information, see Create a service (https://docs.aws.amazon.com/proton/latest/adminguide/ag-create-svc.html.html) in the AWS Proton Administration Guide and Create a service (https://docs.aws.amazon.com/proton/latest/userguide/ug-svc-create.html) in the AWS Proton User Guide.

Tags => ArrayRef[Paws::Proton::Tag]

Create tags for your service. For more information, see AWS Proton resources and tagging in the AWS Proton Administration Guide (https://docs.aws.amazon.com/proton/latest/adminguide/resources.html) or AWS Proton User Guide (https://docs.aws.amazon.com/proton/latest/userguide/resources.html).

REQUIRED TemplateMajorVersion => Str

The ID of the major version of the service template that was used to create the service.

TemplateMinorVersion => Str

The ID of the minor version of the service template that was used to create the service.

REQUIRED TemplateName => Str

The name of the service template that's used to create the service.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateService in Paws::Proton

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