Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 3.14 KB

File metadata and controls

50 lines (37 loc) · 3.14 KB

AWS CloudFormation IAM Role and Policy Template


This template is used to create an IAM Role and an IAM Policy. The IAM Role, by default, is meant to be assumed by one or more IAM Users. The IAM Policy associated with the role provides read-only access to all log groups and log streams assocated with the AWS account.


Template Parameters

Parameter Name Description Constraints Required?
ManagedPolicy The name of the Managed Policy to associate with the IAM Role Must be one of the AllowedValues No
Path The IAM Path to associate with the IAM Role Should be a hierarchical path-based string with a forward slash delimiter, and must start and end with "/" No -- Defaults to "/"
PolicyName The name of the IAM Policy Must be a String value and conform to the following regular expression: ^[a-zA-Z][a-zA-Z0-9_+=,.@-]{1,64}$ Yes
RoleName The name of the IAM Role Must be a String value that conforms to the following regular expression: ^[a-zA-Z][a-zA-Z0-9]{1,64}$ Optional - leave value set to "None" to allow IAM to dynamically name the role

Authors



License


Copyright 2019 1Strategy

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


References