| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::SageMaker::ImageConfig; | ||
| 3 | use Moose; | ||
| 4 | has RepositoryAccessMode => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has RepositoryAuthConfig => (is => 'ro', isa => 'Paws::SageMaker::RepositoryAuthConfig'); | ||
| 6 | |||
| 7 | 1; | ||
| 8 | |||
| 9 | ### main pod documentation begin ### | ||
| 10 | |||
| 11 | =head1 NAME | ||
| 12 | |||
| 13 | Paws::SageMaker::ImageConfig | ||
| 14 | |||
| 15 | =head1 USAGE | ||
| 16 | |||
| 17 | This class represents one of two things: | ||
| 18 | |||
| 19 | =head3 Arguments in a call to a service | ||
| 20 | |||
| 21 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 22 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 23 | |||
| 24 | As an example, if Att1 is expected to be a Paws::SageMaker::ImageConfig object: | ||
| 25 | |||
| 26 | $service_obj->Method(Att1 => { RepositoryAccessMode => $value, ..., RepositoryAuthConfig => $value }); | ||
| 27 | |||
| 28 | =head3 Results returned from an API call | ||
| 29 | |||
| 30 | Use accessors for each attribute. If Att1 is expected to be an Paws::SageMaker::ImageConfig object: | ||
| 31 | |||
| 32 | $result = $service_obj->Method(...); | ||
| 33 | $result->Att1->RepositoryAccessMode | ||
| 34 | |||
| 35 | =head1 DESCRIPTION | ||
| 36 | |||
| 37 | Specifies whether the model container is in Amazon ECR or a private | ||
| 38 | Docker registry accessible from your Amazon Virtual Private Cloud | ||
| 39 | (VPC). | ||
| 40 | |||
| 41 | =head1 ATTRIBUTES | ||
| 42 | |||
| 43 | |||
| 44 | =head2 B<REQUIRED> RepositoryAccessMode => Str | ||
| 45 | |||
| 46 | Set this to one of the following values: | ||
| 47 | |||
| 48 | =over | ||
| 49 | |||
| 50 | =item * | ||
| 51 | |||
| 52 | C<Platform> - The model image is hosted in Amazon ECR. | ||
| 53 | |||
| 54 | =item * | ||
| 55 | |||
| 56 | C<Vpc> - The model image is hosted in a private Docker registry in your | ||
| 57 | VPC. | ||
| 58 | |||
| 59 | =back | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 RepositoryAuthConfig => L<Paws::SageMaker::RepositoryAuthConfig> | ||
| 64 | |||
| 65 | (Optional) Specifies an authentication configuration for the private | ||
| 66 | docker registry where your model image is hosted. Specify a value for | ||
| 67 | this property only if you specified C<Vpc> as the value for the | ||
| 68 | C<RepositoryAccessMode> field, and the private Docker registry where | ||
| 69 | the model image is hosted requires authentication. | ||
| 70 | |||
| 71 | |||
| 72 | |||
| 73 | =head1 SEE ALSO | ||
| 74 | |||
| 75 | This class forms part of L<Paws>, describing an object used in L<Paws::SageMaker> | ||
| 76 | |||
| 77 | =head1 BUGS and CONTRIBUTIONS | ||
| 78 | |||
| 79 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 80 | |||
| 81 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 82 | |||
| 83 | =cut | ||
| 84 |