Interface CfnGroupPolicyProps
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnGroupPolicyProps.Jsii$Proxy
CfnGroupPolicy
.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.iam.*; Object policyDocument; CfnGroupPolicyProps cfnGroupPolicyProps = CfnGroupPolicyProps.builder() .groupName("groupName") .policyName("policyName") // the properties below are optional .policyDocument(policyDocument) .build();
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
A builder forCfnGroupPolicyProps
static final class
An implementation forCfnGroupPolicyProps
-
Method Summary
Modifier and TypeMethodDescriptionstatic CfnGroupPolicyProps.Builder
builder()
The name of the group to associate the policy with.default Object
The policy document.The name of the policy document.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getGroupName
The name of the group to associate the policy with.This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-.
- See Also:
-
getPolicyName
The name of the policy document.This parameter allows (through its regex pattern ) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
- See Also:
-
getPolicyDocument
The policy document.You must provide policies in JSON format in IAM. However, for AWS CloudFormation templates formatted in YAML, you can provide the policy in JSON or YAML format. AWS CloudFormation always converts a YAML policy to JSON format before submitting it to IAM.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
- Any printable ASCII character ranging from the space character (
- The printable characters in the Basic Latin and Latin-1 Supplement character set (through
ΓΏ
) - The special characters tab (
- See Also:
- Any printable ASCII character ranging from the space character (
-
builder
- Returns:
- a
CfnGroupPolicyProps.Builder
ofCfnGroupPolicyProps
-