codestar-connections:CreateHost

Write

codestar-connections:CreateHost is a Write access-level action in the codestar-connections service. Grants permission to create a host resource

Resource types

This action does not support resource-level permissions; use "Resource": "*" in your policy.

Condition keys

Keys you can use in the Condition block of a policy that grants codestar-connections:CreateHost.

aws:RequestTag/${TagKey} String

Filters access by the tags that are passed in the request

aws:TagKeys ArrayOfString

Filters access by the tag keys that are passed in the request

codestar-connections:ProviderType String

Filters access by the type of third-party provider passed in the request

codestar-connections:VpcId String

Filters access by the VpcId passed in the request

Example IAM policy

A minimal policy that allows codestar-connections:CreateHost. Replace "Resource": "*" with a specific ARN to follow least privilege.

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "AllowCodestarconnectionsCreateHost",
      "Effect": "Allow",
      "Action": "codestar-connections:CreateHost",
      "Resource": "*"
    }
  ]
}

Related actions in codestar-connections

View all codestar-connections actions →