Пример #1
0
 def __init__(self, cfn_model):
     """
     Initialize
     :param cfn_model: 
     """
     ModelElement.__init__(self, cfn_model)
     self.policy_document = None
     self.resource_type = 'AWS::S3::BucketPolicy'
Пример #2
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.groups = []
        self.roles = []
        self.users = []
        self.resource_type = 'AWS::IAM::Policy'
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """

        ModelElement.__init__(self, cfn_model)

        self.queues = []
        self.policy_document = None
        self.resource_type = 'AWS::SQS::QueuePolicy'
Пример #4
0
 def __init__(self, cfn_model):
     """
     Initialize
     :param cfn_model: 
     """
     ModelElement.__init__(self, cfn_model)
     self.policies = []
     self.policy_objects = []
     self.group_names = []
     self.groups = []
     self.resource_type = 'AWS::IAM::User'
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model:
        """

        ModelElement.__init__(self, cfn_model)

        self._topics = []
        self.policy_document = None
        self._resource_type = 'AWS::SNS::TopicPolicy'
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        # attr_accessor :security_groups
        ModelElement.__init__(self, cfn_model)

        self.securityGroupIds = []
        self.networkInterfaces = []
        self.security_groups = []
        self.resource_type = 'AWS::EC2::Instance'
Пример #7
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.managedPolicyArns = []
        self.policies = []
        self.policy_objects = []

        self.resource_type = 'AWS::IAM::Group'
Пример #8
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.policies = []
        self.managedPolicyArns = []
        self.policy_objects = []
        self.assume_role_policy_document = None
        self.resource_type = 'AWS::IAM::Role'
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.securityGroups = []
        self.security_groups = []
        self.loadBalancerAttributes = []
        self.subnets = []
        self.tags = []
        self.resource_type = 'AWS::ElasticLoadBalancingV2::LoadBalancer'
Пример #10
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.groupSet= []
        self.ipv6Addresses= []
        self.privateIpAddresses= []
        self.tags= []
        self.security_groups= []
        self.resource_type = 'AWS::EC2::NetworkInterface'
    def __init__(self, cfn_model, debug=False):
        """
        Initialize
        :param cfn_model: 
        :param debug: 
        """
        self.debug = debug

        if self.debug:
            print('EC2SecurityGroupIngress __init__')
        ModelElement.__init__(self, cfn_model)

        self.resource_type = 'AWS::EC2::SecurityGroupIngress'
Пример #12
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """

        ModelElement.__init__(self, cfn_model)
        self.securityGroupIngress = []
        self.securityGroupEgress = []
        self.ingresses = []
        self.egresses = []
        self.tags = []

        self.resource_type = 'AWS::EC2::SecurityGroup'
Пример #13
0
    def __init__(self, cfn_model):
        """
        Initialize
        :param cfn_model: 
        """
        ModelElement.__init__(self, cfn_model)

        self.securityGroups = []
        self.security_groups = []
        self.subnets = []
        self.tags = []
        self.availabilityZones = []
        self.instances = []
        self.appCookieStickinessPolicy = []
        self.lBCookieStickinessPolicy = []
        self.policies = []
        self.listeners = []
        self.accessLoggingPolicy = {}
        self.resource_type = 'AWS::ElasticLoadBalancing::LoadBalancer'