« blib/lib/Paws/Lambda/CreateAlias.pm
↑ Summary
blib/lib/Paws/Lambda/CreateCodeSigningConfigResponse.pm »
| 1 | |||
| 2 | package Paws::Lambda::CreateCodeSigningConfig; | ||
| 3 | use Moose; | ||
| 4 | has AllowedPublishers => (is => 'ro', isa => 'Paws::Lambda::AllowedPublishers', required => 1); | ||
| 5 | has CodeSigningPolicies => (is => 'ro', isa => 'Paws::Lambda::CodeSigningPolicies'); | ||
| 6 | has Description => (is => 'ro', isa => 'Str'); | ||
| 7 | |||
| 8 | use MooseX::ClassAttribute; | ||
| 9 | |||
| 10 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'CreateCodeSigningConfig'); | ||
| 11 | class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2020-04-22/code-signing-configs/'); | ||
| 12 | class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST'); | ||
| 13 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::CreateCodeSigningConfigResponse'); | ||
| 14 | 1; | ||
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::Lambda::CreateCodeSigningConfig - Arguments for method CreateCodeSigningConfig on L<Paws::Lambda> | ||
| 21 | |||
| 22 | =head1 DESCRIPTION | ||
| 23 | |||
| 24 | This class represents the parameters used for calling the method CreateCodeSigningConfig on the | ||
| 25 | L<AWS Lambda|Paws::Lambda> service. Use the attributes of this class | ||
| 26 | as arguments to method CreateCodeSigningConfig. | ||
| 27 | |||
| 28 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateCodeSigningConfig. | ||
| 29 | |||
| 30 | =head1 SYNOPSIS | ||
| 31 | |||
| 32 | my $lambda = Paws->service('Lambda'); | ||
| 33 | my $CreateCodeSigningConfigResponse = $lambda->CreateCodeSigningConfig( | ||
| 34 | AllowedPublishers => { | ||
| 35 | SigningProfileVersionArns => [ 'MyArn', ... ], # min: 1, max: 20 | ||
| 36 | |||
| 37 | }, | ||
| 38 | CodeSigningPolicies => { | ||
| 39 | UntrustedArtifactOnDeployment => | ||
| 40 | 'Warn', # values: Warn, Enforce; OPTIONAL | ||
| 41 | }, # OPTIONAL | ||
| 42 | Description => 'MyDescription', # OPTIONAL | ||
| 43 | ); | ||
| 44 | |||
| 45 | # Results: | ||
| 46 | my $CodeSigningConfig = $CreateCodeSigningConfigResponse->CodeSigningConfig; | ||
| 47 | |||
| 48 | # Returns a L<Paws::Lambda::CreateCodeSigningConfigResponse> object. | ||
| 49 | |||
| 50 | 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. | ||
| 51 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lambda/CreateCodeSigningConfig> | ||
| 52 | |||
| 53 | =head1 ATTRIBUTES | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> AllowedPublishers => L<Paws::Lambda::AllowedPublishers> | ||
| 57 | |||
| 58 | Signing profiles for this code signing configuration. | ||
| 59 | |||
| 60 | |||
| 61 | |||
| 62 | =head2 CodeSigningPolicies => L<Paws::Lambda::CodeSigningPolicies> | ||
| 63 | |||
| 64 | The code signing policies define the actions to take if the validation | ||
| 65 | checks fail. | ||
| 66 | |||
| 67 | |||
| 68 | |||
| 69 | =head2 Description => Str | ||
| 70 | |||
| 71 | Descriptive name for this code signing configuration. | ||
| 72 | |||
| 73 | |||
| 74 | |||
| 75 | |||
| 76 | =head1 SEE ALSO | ||
| 77 | |||
| 78 | This class forms part of L<Paws>, documenting arguments for method CreateCodeSigningConfig in L<Paws::Lambda> | ||
| 79 | |||
| 80 | =head1 BUGS and CONTRIBUTIONS | ||
| 81 | |||
| 82 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 83 | |||
| 84 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 85 | |||
| 86 | =cut | ||
| 87 |