Skip to content

Commit

Permalink
Update API model
Browse files Browse the repository at this point in the history
  • Loading branch information
AWS SDK for Go v2 automation user committed Apr 14, 2023
1 parent 34d00f4 commit 66426a6
Show file tree
Hide file tree
Showing 4 changed files with 631 additions and 290 deletions.
2 changes: 1 addition & 1 deletion codegen/sdk-codegen/aws-models/ecs.json
Original file line number Diff line number Diff line change
Expand Up @@ -2427,7 +2427,7 @@
"dockerSecurityOptions": {
"target": "com.amazonaws.ecs#StringList",
"traits": {
"smithy.api#documentation": "<p>A list of strings to provide custom labels for SELinux and AppArmor multi-level\n\t\t\tsecurity systems. This field isn't valid for containers in tasks using the\n\t\t\tFargate launch type.</p>\n <p>With Windows containers, this parameter can be used to reference a credential spec\n\t\t\tfile when configuring a container for Active Directory authentication. For more\n\t\t\tinformation, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html\">Using gMSAs for Windows\n\t\t\t\tContainers</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n <p>This parameter maps to <code>SecurityOpt</code> in the\n\t\t\t<a href=\"https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.35/\">Docker Remote API</a> and the\n\t\t\t\t<code>--security-opt</code> option to <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">docker\n\t\t\t\trun</a>.</p>\n <note>\n <p>The Amazon ECS container agent running on a container instance must register with the\n\t\t\t\t\t<code>ECS_SELINUX_CAPABLE=true</code> or <code>ECS_APPARMOR_CAPABLE=true</code>\n\t\t\t\tenvironment variables before containers placed on that instance can use these\n\t\t\t\tsecurity options. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html\">Amazon ECS Container\n\t\t\t\t\tAgent Configuration</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n </note>\n <p>For more information about valid values, see <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">Docker\n\t\t\t\tRun Security Configuration</a>. </p>\n <p>Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | \"label:value\" |\n\t\t\t\"credentialspec:CredentialSpecFilePath\"</p>"
"smithy.api#documentation": "<p>A list of strings to provide custom configuration for multiple\n\t\t\tsecurity systems. For more information about valid values, see <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">Docker Run Security Configuration</a>. This field isn't valid\n\t\t\tfor containers in tasks using the Fargate launch\n\t\t\ttype.</p>\n <p>For Linux tasks on EC2, this parameter can be used to reference custom\n\t\t\tlabels for SELinux and AppArmor multi-level security systems.</p>\n <p>For any tasks on EC2, this parameter can be used to reference a\n\t\t\tcredential spec file that configures a container for Active Directory\n\t\t\tauthentication. For more\n\t\t\tinformation, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/windows-gmsa.html\">Using gMSAs for Windows\n\t\t\t\tContainers</a> and <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/linux-gmsa.html\">Using gMSAs for Linux\n\t\t\t\t\tContainers</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n <p>This parameter maps to <code>SecurityOpt</code> in the\n\t\t\t<a href=\"https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.35/\">Docker Remote API</a> and the\n\t\t\t\t<code>--security-opt</code> option to <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">docker\n\t\t\t\trun</a>.</p>\n <note>\n <p>The Amazon ECS container agent running on a container instance must register with the\n\t\t\t\t\t<code>ECS_SELINUX_CAPABLE=true</code> or <code>ECS_APPARMOR_CAPABLE=true</code>\n\t\t\t\tenvironment variables before containers placed on that instance can use these\n\t\t\t\tsecurity options. For more information, see <a href=\"https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ecs-agent-config.html\">Amazon ECS Container\n\t\t\t\t\tAgent Configuration</a> in the <i>Amazon Elastic Container Service Developer Guide</i>.</p>\n </note>\n <p>For more information about valid values, see <a href=\"https://docs.docker.com/engine/reference/run/#security-configuration\">Docker\n\t\t\t\tRun Security Configuration</a>. </p>\n <p>Valid values: \"no-new-privileges\" | \"apparmor:PROFILE\" | \"label:value\" |\n\t\t\t\"credentialspec:CredentialSpecFilePath\"</p>"
}
},
"interactive": {
Expand Down
Loading

0 comments on commit 66426a6

Please sign in to comment.