Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ec2): update WindowsVersions enum #29796

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open
4 changes: 3 additions & 1 deletion packages/@aws-cdk-testing/framework-integ/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@
"aws-sdk-mock": "5.6.0",
"cdk8s": "2.68.85",
"cdk8s-plus-27": "2.9.5",
"constructs": "^10.0.0"
"constructs": "^10.0.0",
"jsii": "~5.4.0",
"jsii-reflect": "1.97.0"
},
"repository": {
"url": "https://github.com/aws/aws-cdk.git",
Expand Down

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"Parameters": {
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
{
"Resources": {
"InstanceInstanceSecurityGroupF0E2D5BE": {
"Type": "AWS::EC2::SecurityGroup",
"Properties": {
"GroupDescription": "integ-ec2-windows-instance-Windows-Server-2016-English-Core-Base/Instance/InstanceSecurityGroup",
"SecurityGroupEgress": [
{
"CidrIp": "0.0.0.0/0",
"Description": "Allow all outbound traffic by default",
"IpProtocol": "-1"
}
],
"Tags": [
{
"Key": "Name",
"Value": "integ-ec2-windows-instance-Windows-Server-2016-English-Core-Base/Instance"
}
],
"VpcId": {
"Fn::ImportValue": "integ-ec2-windows-vpc:ExportsOutputRefVpc8378EB38272D6E3A"
}
}
},
"InstanceInstanceRoleE9785DE5": {
"Type": "AWS::IAM::Role",
"Properties": {
"AssumeRolePolicyDocument": {
"Statement": [
{
"Action": "sts:AssumeRole",
"Effect": "Allow",
"Principal": {
"Service": "ec2.amazonaws.com"
}
}
],
"Version": "2012-10-17"
},
"Tags": [
{
"Key": "Name",
"Value": "integ-ec2-windows-instance-Windows-Server-2016-English-Core-Base/Instance"
}
]
}
},
"InstanceInstanceProfileAB5AEF02": {
"Type": "AWS::IAM::InstanceProfile",
"Properties": {
"Roles": [
{
"Ref": "InstanceInstanceRoleE9785DE5"
}
]
}
},
"InstanceC1063A87": {
"Type": "AWS::EC2::Instance",
"Properties": {
"AvailabilityZone": "test-region-1a",
"IamInstanceProfile": {
"Ref": "InstanceInstanceProfileAB5AEF02"
},
"ImageId": {
"Ref": "SsmParameterValueawsserviceamiwindowslatestWindowsServer2016EnglishCoreBaseC96584B6F00A464EAD1953AFF4B05118Parameter"
},
"InstanceType": "t3.nano",
"NetworkInterfaces": [
{
"AssociatePublicIpAddress": false,
"DeviceIndex": "0",
"GroupSet": [
{
"Fn::GetAtt": [
"InstanceInstanceSecurityGroupF0E2D5BE",
"GroupId"
]
}
],
"SubnetId": {
"Fn::ImportValue": "integ-ec2-windows-vpc:ExportsOutputRefVpcPublicSubnet1Subnet5C2D37C4FFA2B456"
}
}
],
"Tags": [
{
"Key": "Name",
"Value": "integ-ec2-windows-instance-Windows-Server-2016-English-Core-Base/Instance"
}
],
"UserData": {
"Fn::Base64": "<powershell></powershell>"
}
},
"DependsOn": [
"InstanceInstanceRoleE9785DE5"
]
}
},
"Parameters": {
"SsmParameterValueawsserviceamiwindowslatestWindowsServer2016EnglishCoreBaseC96584B6F00A464EAD1953AFF4B05118Parameter": {
"Type": "AWS::SSM::Parameter::Value<AWS::EC2::Image::Id>",
"Default": "/aws/service/ami-windows-latest/Windows_Server-2016-English-Core-Base"
},
"BootstrapVersion": {
"Type": "AWS::SSM::Parameter::Value<String>",
"Default": "/cdk-bootstrap/hnb659fds/version",
"Description": "Version of the CDK Bootstrap resources in this environment, automatically retrieved from SSM Parameter Store. [cdk:skip]"
}
},
"Rules": {
"CheckBootstrapVersion": {
"Assertions": [
{
"Assert": {
"Fn::Not": [
{
"Fn::Contains": [
[
"1",
"2",
"3",
"4",
"5"
],
{
"Ref": "BootstrapVersion"
}
]
}
]
},
"AssertDescription": "CDK bootstrap stack version 6 required. Please run 'cdk bootstrap' with a recent version of the CDK CLI."
}
]
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading