libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Description

 
Synopsis

Documentation

data ApplicationPolicyStatement Source #

Policy statement applied to the application.

See: newApplicationPolicyStatement smart constructor.

Constructors

ApplicationPolicyStatement' 

Fields

Instances

Instances details
Eq ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Read ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Show ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Generic ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Associated Types

type Rep ApplicationPolicyStatement :: Type -> Type #

NFData ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Hashable ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

ToJSON ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

FromJSON ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

type Rep ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

type Rep ApplicationPolicyStatement = D1 ('MetaData "ApplicationPolicyStatement" "Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement" "libZSservicesZSamazonka-serverlessrepoZSamazonka-serverlessrepo" 'False) (C1 ('MetaCons "ApplicationPolicyStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "statementId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "principalOrgIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "principals") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]) :*: S1 ('MetaSel ('Just "actions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [Text]))))

newApplicationPolicyStatement :: ApplicationPolicyStatement Source #

Create a value of ApplicationPolicyStatement with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:statementId:ApplicationPolicyStatement', applicationPolicyStatement_statementId - A unique ID for the statement.

$sel:principalOrgIDs:ApplicationPolicyStatement', applicationPolicyStatement_principalOrgIDs - An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID global condition key.

$sel:principals:ApplicationPolicyStatement', applicationPolicyStatement_principals - An array of AWS account IDs, or * to make the application public.

$sel:actions:ApplicationPolicyStatement', applicationPolicyStatement_actions - For the list of actions supported for this operation, see Application Permissions.

applicationPolicyStatement_principalOrgIDs :: Lens' ApplicationPolicyStatement (Maybe [Text]) Source #

An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID global condition key.

applicationPolicyStatement_principals :: Lens' ApplicationPolicyStatement [Text] Source #

An array of AWS account IDs, or * to make the application public.

applicationPolicyStatement_actions :: Lens' ApplicationPolicyStatement [Text] Source #

For the list of actions supported for this operation, see Application Permissions.