« blib/lib/Paws/AccessAnalyzer/GetGeneratedPolicyResponse.pm
↑ Summary
blib/lib/Paws/AccessAnalyzer/InlineArchiveRule.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::AccessAnalyzer::IamRoleConfiguration; | ||
| 3 | use Moose; | ||
| 4 | has TrustPolicy => (is => 'ro', isa => 'Str', request_name => 'trustPolicy', traits => ['NameInRequest']); | ||
| 5 | |||
| 6 | 1; | ||
| 7 | |||
| 8 | ### main pod documentation begin ### | ||
| 9 | |||
| 10 | =head1 NAME | ||
| 11 | |||
| 12 | Paws::AccessAnalyzer::IamRoleConfiguration | ||
| 13 | |||
| 14 | =head1 USAGE | ||
| 15 | |||
| 16 | This class represents one of two things: | ||
| 17 | |||
| 18 | =head3 Arguments in a call to a service | ||
| 19 | |||
| 20 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 21 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 22 | |||
| 23 | As an example, if Att1 is expected to be a Paws::AccessAnalyzer::IamRoleConfiguration object: | ||
| 24 | |||
| 25 | $service_obj->Method(Att1 => { TrustPolicy => $value, ..., TrustPolicy => $value }); | ||
| 26 | |||
| 27 | =head3 Results returned from an API call | ||
| 28 | |||
| 29 | Use accessors for each attribute. If Att1 is expected to be an Paws::AccessAnalyzer::IamRoleConfiguration object: | ||
| 30 | |||
| 31 | $result = $service_obj->Method(...); | ||
| 32 | $result->Att1->TrustPolicy | ||
| 33 | |||
| 34 | =head1 DESCRIPTION | ||
| 35 | |||
| 36 | The proposed access control configuration for an IAM role. You can | ||
| 37 | propose a configuration for a new IAM role or an existing IAM role that | ||
| 38 | you own by specifying the trust policy. If the configuration is for a | ||
| 39 | new IAM role, you must specify the trust policy. If the configuration | ||
| 40 | is for an existing IAM role that you own and you do not propose the | ||
| 41 | trust policy, the access preview uses the existing trust policy for the | ||
| 42 | role. The proposed trust policy cannot be an empty string. For more | ||
| 43 | information about role trust policy limits, see IAM and STS quotas | ||
| 44 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_iam-quotas.html). | ||
| 45 | |||
| 46 | =head1 ATTRIBUTES | ||
| 47 | |||
| 48 | |||
| 49 | =head2 TrustPolicy => Str | ||
| 50 | |||
| 51 | The proposed trust policy for the IAM role. | ||
| 52 | |||
| 53 | |||
| 54 | |||
| 55 | =head1 SEE ALSO | ||
| 56 | |||
| 57 | This class forms part of L<Paws>, describing an object used in L<Paws::AccessAnalyzer> | ||
| 58 | |||
| 59 | =head1 BUGS and CONTRIBUTIONS | ||
| 60 | |||
| 61 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 62 | |||
| 63 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 64 | |||
| 65 | =cut | ||
| 66 |