SQS: Add missing property SQSManagedSSEEnabled (#7279)
This commit is contained in:
parent
74c328279e
commit
2b2689de93
@ -243,6 +243,7 @@ class Queue(CloudFormationModel):
|
||||
"RedrivePolicy",
|
||||
"ReceiveMessageWaitTimeSeconds",
|
||||
"VisibilityTimeout",
|
||||
"SqsManagedSseEnabled",
|
||||
]
|
||||
FIFO_ATTRIBUTES = [
|
||||
"ContentBasedDeduplication",
|
||||
@ -298,6 +299,7 @@ class Queue(CloudFormationModel):
|
||||
"ReceiveMessageWaitTimeSeconds": 0,
|
||||
"RedrivePolicy": None,
|
||||
"VisibilityTimeout": 30,
|
||||
"SqsManagedSseEnabled": True,
|
||||
}
|
||||
|
||||
defaults.update(kwargs)
|
||||
|
44
other_langs/terraform/sqs/provider.tf
Normal file
44
other_langs/terraform/sqs/provider.tf
Normal file
@ -0,0 +1,44 @@
|
||||
provider "aws" {
|
||||
region = "us-east-1"
|
||||
s3_use_path_style = true
|
||||
skip_credentials_validation = true
|
||||
skip_metadata_api_check = true
|
||||
skip_requesting_account_id = true
|
||||
|
||||
endpoints {
|
||||
acm = "http://localhost:5000"
|
||||
apigateway = "http://localhost:5000"
|
||||
cloudformation = "http://localhost:5000"
|
||||
cloudwatch = "http://localhost:5000"
|
||||
dynamodb = "http://localhost:5000"
|
||||
es = "http://localhost:5000"
|
||||
firehose = "http://localhost:5000"
|
||||
iam = "http://localhost:5000"
|
||||
kinesis = "http://localhost:5000"
|
||||
lambda = "http://localhost:5000"
|
||||
route53 = "http://localhost:5000"
|
||||
redshift = "http://localhost:5000"
|
||||
s3 = "http://localhost:5000"
|
||||
secretsmanager = "http://localhost:5000"
|
||||
ses = "http://localhost:5000"
|
||||
sns = "http://localhost:5000"
|
||||
sqs = "http://localhost:5000"
|
||||
ssm = "http://localhost:5000"
|
||||
stepfunctions = "http://localhost:5000"
|
||||
sts = "http://localhost:5000"
|
||||
ec2 = "http://localhost:5000"
|
||||
}
|
||||
|
||||
access_key = "my-access-key"
|
||||
secret_key = "my-secret-key"
|
||||
}
|
||||
|
||||
terraform {
|
||||
required_providers {
|
||||
|
||||
aws = {
|
||||
source = "hashicorp/aws"
|
||||
version = "4.67.0"
|
||||
}
|
||||
}
|
||||
}
|
12
other_langs/terraform/sqs/queue.tf
Normal file
12
other_langs/terraform/sqs/queue.tf
Normal file
@ -0,0 +1,12 @@
|
||||
resource "aws_sqs_queue" "queue" {
|
||||
name = "test-queue"
|
||||
fifo_queue = false
|
||||
delay_seconds = 0
|
||||
max_message_size = 16384
|
||||
message_retention_seconds = 86400
|
||||
visibility_timeout_seconds = 30
|
||||
receive_wait_time_seconds = 0
|
||||
redrive_policy = null
|
||||
content_based_deduplication = false
|
||||
sqs_managed_sse_enabled = true
|
||||
}
|
Loading…
Reference in New Issue
Block a user