Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ApplicationPolicyStatement = ApplicationPolicyStatement' {
- statementId :: Maybe Text
- principalOrgIDs :: Maybe [Text]
- principals :: [Text]
- actions :: [Text]
- newApplicationPolicyStatement :: ApplicationPolicyStatement
- applicationPolicyStatement_statementId :: Lens' ApplicationPolicyStatement (Maybe Text)
- applicationPolicyStatement_principalOrgIDs :: Lens' ApplicationPolicyStatement (Maybe [Text])
- applicationPolicyStatement_principals :: Lens' ApplicationPolicyStatement [Text]
- applicationPolicyStatement_actions :: Lens' ApplicationPolicyStatement [Text]
Documentation
data ApplicationPolicyStatement Source #
Policy statement applied to the application.
See: newApplicationPolicyStatement
smart constructor.
ApplicationPolicyStatement' | |
|
Instances
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_statementId :: Lens' ApplicationPolicyStatement (Maybe Text) Source #
A unique ID for the statement.
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.