

サポート終了通知: 2027 年 6 月 30 日に、 AWS は AWS re:Post Private のサポートを終了します。2027 年 6 月 30 日以降、re:Post Private コンソールまたは re:Post Private リソースにアクセスできなくなります。詳細については、[「AWS re:Post Private end of support](https://docs.aws.amazon.com/repostprivate/latest/userguide/repost-private-end-of-support.html)」を参照してください。

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

# インラインポリシー
<a name="security-with-iam-inline-policies"></a>

インラインポリシーは、作成して管理するポリシーです。インラインポリシーは、ユーザー、グループ、またはロールに直接埋め込むことができます。次のポリシー例は、AWS re:Post Private アクションを実行するためのアクセス許可を割り当てる方法を示しています。インラインポリシーの一般的な情報については、AWS [IAM ユーザーガイドの「IAM ポリシーの管理](https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_manage.html)」を参照してください。 **インラインポリシーを作成して埋め込むには AWS Management Console、、 AWS Command Line Interface (AWS CLI)、または AWS Identity and Access Management API を使用できます。

**Topics**
+ [re:Post Private への読み取り専用アクセス](#read-only-access)
+ [re:Post Private へのフルアクセス](#full-access)

## re:Post Private への読み取り専用アクセス
<a name="read-only-access"></a>

次のポリシーは、IAM Identity Center および re:Post Private コンソールのユーザーに読み取りアクセスを許可します。このポリシーにより、ユーザーは読み取り専用の re:Post Private アクションを実行できます。

------
#### [ JSON ]

****  

```
{
    "Version":"2012-10-17",		 	 	 
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "organizations:DescribeOrganization",
                "organizations:DescribeAccount",
                
                "sso:DescribeRegisteredRegions",
                "sso:ListDirectoryAssociations",
                "sso:GetSSOStatus",
                "sso:GetManagedApplicationInstance",
                "sso:ListProfiles",
                "sso:GetProfile",
                "sso:ListProfileAssociations",
                
                "sso-directory:DescribeDirectory",
                "sso-directory:SearchUsers",
                "sso-directory:SearchGroups",
                
                "repostspace:GetSpace",
                "repostspace:ListSpaces",
                "repostspace:ListTagsForResource"
            ],
            "Resource": "*"
        }
    ]
}
```

------

## re:Post Private へのフルアクセス
<a name="full-access"></a>

次のポリシーは、IAM Identity Center および re:Post Private コンソールのユーザーにフルアクセスを付与します。このポリシーにより、ユーザーはすべての re:Post Private アクションを実行できます。

------
#### [ JSON ]

****  

```
{
    "Version":"2012-10-17",		 	 	 
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "organizations:DescribeOrganization",
                "organizations:DescribeAccount",
                
                "sso:DescribeRegisteredRegions",
                "sso:ListDirectoryAssociations",
                "sso:GetSSOStatus",
                "sso:GetManagedApplicationInstance",
                "sso:ListProfiles",
                "sso:GetProfile",
                "sso:ListProfileAssociations",
                
                "sso:CreateManagedApplicationInstance",
                "sso:DeleteManagedApplicationInstance",
                "sso:AssociateProfile",
                "sso:DisassociateProfile",
                
                "sso-directory:DescribeDirectory",
                "sso-directory:SearchUsers",
                "sso-directory:SearchGroups",

                "kms:ListAliases",
                "kms:DescribeKey",
                "kms:CreateGrant",
                "kms:RetireGrant",
                
                "repostspace:*"
            ],
            "Resource": "*"
        }
    ]
}
```

------