![]() |
![]()
| ![]() |
![]()
NAMEPaws::Proton::CreateService - Arguments for method CreateService on Paws::Proton DESCRIPTIONThis 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. SYNOPSISmy $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> ATTRIBUTESBranchName => StrThe 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 => StrA description of the AWS Proton service. REQUIRED Name => StrThe service name. RepositoryConnectionArn => StrThe 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 => StrThe ID of the code repository. Don't include this parameter if your service template doesn't include a service pipeline. REQUIRED Spec => StrA 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 => StrThe ID of the major version of the service template that was used to create the service. TemplateMinorVersion => StrThe ID of the minor version of the service template that was used to create the service. REQUIRED TemplateName => StrThe name of the service template that's used to create the service. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateService in Paws::Proton BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|