# Okta::Group::Membership Adds Okta users to groups ## Syntax To declare this entity in your AWS CloudFormation template, use the following syntax: ### JSON
{
    "Type" : "Okta::Group::Membership",
    "Properties" : {
        "GroupId" : String,
        "UserId" : String
    }
}
### YAML
Type: Okta::Group::Membership
Properties:
    GroupId: String
    UserId: String
## Properties #### GroupId _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement) #### UserId _Required_: Yes _Type_: String _Update requires_: [Replacement](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/using-cfn-updating-stacks-update-behaviors.html#update-replacement)