amazonka-serverlessrepo-2.0: Amazon ServerlessApplicationRepository SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

ToJSON 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 #

Read ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Show ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

NFData ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Eq ApplicationPolicyStatement Source # 
Instance details

Defined in Amazonka.ServerlessApplicationRepository.Types.ApplicationPolicyStatement

Hashable 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" "amazonka-serverlessrepo-2.0-DJX7EnU3zce9dFmCiMzat7" 'False) (C1 ('MetaCons "ApplicationPolicyStatement'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "principalOrgIDs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text])) :*: S1 ('MetaSel ('Just "statementId") '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:principalOrgIDs:ApplicationPolicyStatement', applicationPolicyStatement_principalOrgIDs - An array of PrinciplalOrgIDs, which corresponds to AWS IAM aws:PrincipalOrgID global condition key.

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

$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.