« blib/lib/Paws/CloudFormation/ResourceTargetDefinition.pm
↑ Summary
blib/lib/Paws/CloudFormation/RollbackConfiguration.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CloudFormation::ResourceToImport; | ||
| 3 | use Moose; | ||
| 4 | has LogicalResourceId => (is => 'ro', isa => 'Str', required => 1); | ||
| 5 | has ResourceIdentifier => (is => 'ro', isa => 'Paws::CloudFormation::ResourceIdentifierProperties', required => 1); | ||
| 6 | has ResourceType => (is => 'ro', isa => 'Str', required => 1); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::CloudFormation::ResourceToImport | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::CloudFormation::ResourceToImport object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { LogicalResourceId => $value, ..., ResourceType => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFormation::ResourceToImport object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->LogicalResourceId | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Describes the target resource of an import operation. | ||
| 39 | |||
| 40 | =head1 ATTRIBUTES | ||
| 41 | |||
| 42 | |||
| 43 | =head2 B<REQUIRED> LogicalResourceId => Str | ||
| 44 | |||
| 45 | The logical ID of the target resource as specified in the template. | ||
| 46 | |||
| 47 | |||
| 48 | =head2 B<REQUIRED> ResourceIdentifier => L<Paws::CloudFormation::ResourceIdentifierProperties> | ||
| 49 | |||
| 50 | A key-value pair that identifies the target resource. The key is an | ||
| 51 | identifier property (for example, C<BucketName> for C<AWS::S3::Bucket> | ||
| 52 | resources) and the value is the actual property value (for example, | ||
| 53 | C<MyS3Bucket>). | ||
| 54 | |||
| 55 | |||
| 56 | =head2 B<REQUIRED> ResourceType => Str | ||
| 57 | |||
| 58 | The type of resource to import into your stack, such as | ||
| 59 | C<AWS::S3::Bucket>. For a list of supported resource types, see | ||
| 60 | Resources that support import operations | ||
| 61 | (https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/resource-import-supported-resources.html) | ||
| 62 | in the AWS CloudFormation User Guide. | ||
| 63 | |||
| 64 | |||
| 65 | |||
| 66 | =head1 SEE ALSO | ||
| 67 | |||
| 68 | This class forms part of L<Paws>, describing an object used in L<Paws::CloudFormation> | ||
| 69 | |||
| 70 | =head1 BUGS and CONTRIBUTIONS | ||
| 71 | |||
| 72 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 73 | |||
| 74 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 75 | |||
| 76 | =cut | ||
| 77 |