First : I want to create access for my ALB to store logs in my s3 bucket,
AccessLoggingPolicy=elb.AccessLoggingPolicy(
EmitInterval=5,
Enabled=True,
S3BucketName="logging",
S3BucketPrefix="APPALB",
),
Here i defined but this code is for ELBv1 but i am using ELBv2 how can i define it.
Second : Another one i want to create Deletion protection
for my elb, I searched alot but i didn't find any where how to do it using Troposphare cloud formation.
LoadBalancerAttributes=elb.LoadBalancerAttributes(
DeletionProtection='True',
)
))
Help me Fix this.