Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data ApplicationPolicyStatement = ApplicationPolicyStatement' {
- principalOrgIDs :: Maybe [Text]
- statementId :: Maybe Text
- principals :: [Text]
- actions :: [Text]
- newApplicationPolicyStatement :: ApplicationPolicyStatement
- applicationPolicyStatement_principalOrgIDs :: Lens' ApplicationPolicyStatement (Maybe [Text])
- applicationPolicyStatement_statementId :: 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: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_statementId :: Lens' ApplicationPolicyStatement (Maybe Text) Source #
A unique ID for the statement.
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.