404

[ Avaa Bypassed ]




Upload:

Command:

botdev@18.217.203.133: ~ $
**To enable deletion protection**

This example enables deletion protection for the specified load balancer.

Command::

  aws elbv2 modify-load-balancer-attributes --load-balancer-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188 --attributes Key=deletion_protection.enabled,Value=true

Output::

  {
    "Attributes": [
        {
            "Value": "true",
            "Key": "deletion_protection.enabled"
        },
        {
            "Value": "false",
            "Key": "access_logs.s3.enabled"
        },
        {
            "Value": "60",
            "Key": "idle_timeout.timeout_seconds"
        },
        {
            "Value": "",
            "Key": "access_logs.s3.prefix"
        },
        {
            "Value": "",
            "Key": "access_logs.s3.bucket"
        }
    ]
  }

**To change the idle timeout**

This example changes the idle timeout value for the specified load balancer.

Command::

  aws elbv2 modify-load-balancer-attributes --load-balancer-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188 --attributes Key=idle_timeout.timeout_seconds,Value=30

Output::

  {
    "Attributes": [
        {
            "Value": "30",
            "Key": "idle_timeout.timeout_seconds"
        },
        {
            "Value": "false",
            "Key": "access_logs.s3.enabled"
        },
        {
            "Value": "",
            "Key": "access_logs.s3.prefix"
        },
        {
            "Value": "true",
            "Key": "deletion_protection.enabled"
        },
        {
            "Value": "",
            "Key": "access_logs.s3.bucket"
        }
    ]
  }

**To enable access logs**

This example enables access logs for the specified load balancer. Note that the S3 bucket must exist in the same region as the load balancer and must have a policy attached that grants access to the Elastic Load Balancing service.

Command::

  aws elbv2 modify-load-balancer-attributes --load-balancer-arn arn:aws:elasticloadbalancing:us-west-2:123456789012:loadbalancer/app/my-load-balancer/50dc6c495c0c9188 --attributes Key=access_logs.s3.enabled,Value=true Key=access_logs.s3.bucket,Value=my-loadbalancer-logs Key=access_logs.s3.prefix,Value=myapp

Output::

  {
    "Attributes": [
        {
            "Value": "true",
            "Key": "access_logs.s3.enabled"
        },
        {
            "Value": "my-load-balancer-logs",
            "Key": "access_logs.s3.bucket"
        },
        {
            "Value": "myapp",
            "Key": "access_logs.s3.prefix"
        },
        {
            "Value": "60",
            "Key": "idle_timeout.timeout_seconds"
        },
        {
            "Value": "false",
            "Key": "deletion_protection.enabled"
        }
    ]
  }

Filemanager

Name Type Size Permission Actions
wait Folder 0755
add-listener-certificates.rst File 653 B 0644
add-tags.rst File 390 B 0644
create-listener.rst File 6.53 KB 0644
create-load-balancer.rst File 6.97 KB 0644
create-rule.rst File 3.72 KB 0644
create-target-group.rst File 5.71 KB 0644
delete-listener.rst File 281 B 0644
delete-load-balancer.rst File 293 B 0644
delete-rule.rst File 283 B 0644
delete-target-group.rst File 277 B 0644
deregister-targets.rst File 833 B 0644
describe-account-limits.rst File 1.51 KB 0644
describe-listener-certificates.rst File 895 B 0644
describe-listeners.rst File 2.71 KB 0644
describe-load-balancer-attributes.rst File 1.85 KB 0644
describe-load-balancers.rst File 1.47 KB 0644
describe-rules.rst File 727 B 0644
describe-ssl-policies.rst File 1.44 KB 0644
describe-tags.rst File 785 B 0644
describe-target-group-attributes.rst File 1.75 KB 0644
describe-target-groups.rst File 1.9 KB 0644
describe-target-health.rst File 4.18 KB 0644
modify-listener.rst File 3.72 KB 0644
modify-load-balancer-attributes.rst File 2.87 KB 0644
modify-rule.rst File 1.33 KB 0644
modify-target-group-attributes.rst File 858 B 0644
modify-target-group.rst File 1.26 KB 0644
register-targets.rst File 1.95 KB 0644
remove-listener-certificates.rst File 440 B 0644
remove-tags.rst File 367 B 0644
set-ip-address-type.rst File 459 B 0644
set-rule-priorities.rst File 1.05 KB 0644
set-security-groups.rst File 428 B 0644
set-subnets.rst File 631 B 0644